Skip to content

Commit 2d71209

Browse files
committed
Remove an unnecessary sentence
1 parent 8211e5f commit 2d71209

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

active/0000-const-unsafe-pointers.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,7 @@ the language, `const`.
136136
Here it can be seen that it is impossible for the C code to safely dereference
137137
the pointers passed in because lifetimes don't extend into the function call
138138
itself. The compiler could, in this case, *extend the lifetime* of a coerced
139-
pointer to follow the otherwise applied temporary rules for expressions. In
140-
layman's terms, this means that whenever the compiler detects a coerction of a
141-
pointer, the pointer is modified to live to the end of the "innermost
142-
enclosing statement".
139+
pointer to follow the otherwise applied temporary rules for expressions.
143140

144141
In the example above, the compiler's temporary lifetime rules would cause the
145142
first coercion to last for the entire lifetime of the call to `bar`, thereby

0 commit comments

Comments
 (0)