Skip to content

Commit

Permalink
Improve sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaime Terreu authored and carols10cents committed Aug 3, 2023
1 parent 668c647 commit 4d988c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch10-03-lifetime-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The outer scope declares a variable named `r` with no initial value, and the
inner scope declares a variable named `x` with the initial value of 5. Inside
the inner scope, we attempt to set the value of `r` as a reference to `x`. Then
the inner scope ends, and we attempt to print the value in `r`. This code won’t
compile because the value `r` is referring to has gone out of scope before we
compile because what the value `r` is referring to has gone out of scope before we
try to use it. Here is the error message:

```console
Expand Down

0 comments on commit 4d988c7

Please sign in to comment.