Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scope/lifetime/static_lifetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ a program's life, they can be created while the program is executed. Just to
demonstrate, the below example uses
[`Box::leak`](https://doc.rust-lang.org/std/boxed/struct.Box.html#method.leak)
to dynamically create `'static` references. In that case it definitely doesn't
live for the entire duration, but only for the leaking point onward.
live for the entire duration, but only from the leaking point onward.

```rust,editable,compile_fail
extern crate rand;
Expand Down
Loading