We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7074592 + 88e62a9 commit fcbf012Copy full SHA for fcbf012
src/doc/guide.md
@@ -3669,10 +3669,9 @@ manually free this allocation! If we write
3669
```
3670
3671
then Rust will automatically free `x` at the end of the block. This isn't
3672
-because Rust has a garbage collector -- it doesn't. Instead, Rust uses static
3673
-analysis to determine the *lifetime* of `x`, and then generates code to free it
3674
-once it's sure the `x` won't be used again. This Rust code will do the same
3675
-thing as the following C code:
+because Rust has a garbage collector -- it doesn't. Instead, when `x` goes out
+of scope, Rust `free`s `x`. This Rust code will do the same thing as the
+following C code:
3676
3677
```{c,ignore}
3678
{
0 commit comments