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 d491e87 + 8a46812 commit 6f0b1a8Copy full SHA for 6f0b1a8
listings/ch04-understanding-ownership/listing-04-08/src/main.rs
@@ -18,7 +18,8 @@ fn main() {
18
19
s.clear(); // this empties the String, making it equal to ""
20
21
- // word still has the value 5 here, but there's no more string that
22
- // we could meaningfully use the value 5 with. word is now totally invalid!
+ // `word` still has the value `5` here, but `s` no longer has any content
+ // that we could meaningfully use with the value `5`, so `word` is now
23
+ // totally invalid!
24
}
25
// ANCHOR_END: here
0 commit comments