Skip to content

Commit

Permalink
Merge pull request #3180 from aadeexyz/patch-1
Browse files Browse the repository at this point in the history
Fixed grammatical error in the comment on line 22
  • Loading branch information
chriskrycho authored Dec 11, 2024
2 parents d491e87 + 8a46812 commit 6f0b1a8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ fn main() {

s.clear(); // this empties the String, making it equal to ""

// word still has the value 5 here, but there's no more string that
// 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
// totally invalid!
}
// ANCHOR_END: here

0 comments on commit 6f0b1a8

Please sign in to comment.