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.
Variables and Bindings
1 parent d2368c3 commit 42ae6bbCopy full SHA for 42ae6bb
src/doc/guide.md
@@ -460,7 +460,7 @@ x = 10i;
460
There is no single reason that bindings are immutable by default, but we can
461
think about it through one of Rust's primary focuses: safety. If you forget to
462
say `mut`, the compiler will catch it, and let you know that you have mutated
463
-something you may not have cared to mutate. If bindings were mutable by
+something you may not have intended to mutate. If bindings were mutable by
464
default, the compiler would not be able to tell you this. If you _did_ intend
465
mutation, then the solution is quite easy: add `mut`.
466
0 commit comments