Skip to content

Commit

Permalink
update original
Browse files Browse the repository at this point in the history
  • Loading branch information
funkill committed Jan 4, 2025
1 parent 12b554e commit 8fa965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-by-example/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

0 comments on commit 8fa965f

Please sign in to comment.