We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd3b1c0 + 80d6bbe commit ad2011dCopy full SHA for ad2011d
src/ch10-03-lifetime-syntax.md
@@ -567,7 +567,7 @@ let s: &'static str = "I have a static lifetime.";
567
The text of this string is stored directly in the program’s binary, which is
568
always available. Therefore, the lifetime of all string literals is `'static`.
569
570
-You might see suggestions to use the `'static` lifetime in error messages. But
+You might see suggestions in error messages to use the `'static` lifetime. But
571
before specifying `'static` as the lifetime for a reference, think about
572
whether the reference you have actually lives the entire lifetime of your
573
program or not, and whether you want it to. Most of the time, an error message
0 commit comments