From 8fa965fe234eff7ea26a6eaaa00c6265d8d52c54 Mon Sep 17 00:00:00 2001 From: funkill2 Date: Sat, 4 Jan 2025 04:00:04 +0300 Subject: [PATCH] update original --- rust-by-example/src/scope/lifetime/static_lifetime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-by-example/src/scope/lifetime/static_lifetime.md b/rust-by-example/src/scope/lifetime/static_lifetime.md index 26f9fab..637add3 100644 --- a/rust-by-example/src/scope/lifetime/static_lifetime.md +++ b/rust-by-example/src/scope/lifetime/static_lifetime.md @@ -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;