Skip to content

Commit 28b7ec6

Browse files
authored
Merge pull request #1905 from hkBst/patch-1
Fix typo in static_lifetime.md
2 parents 0933975 + 7f722c8 commit 28b7ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/lifetime/static_lifetime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ a program's life, they can be created while the program is executed. Just to
6767
demonstrate, the below example uses
6868
[`Box::leak`](https://doc.rust-lang.org/std/boxed/struct.Box.html#method.leak)
6969
to dynamically create `'static` references. In that case it definitely doesn't
70-
live for the entire duration, but only for the leaking point onward.
70+
live for the entire duration, but only from the leaking point onward.
7171

7272
```rust,editable,compile_fail
7373
extern crate rand;

0 commit comments

Comments
 (0)