|
|
|
|
|
by Item_Boring
2050 days ago
|
|
As someone who started learning Rust a few days ago I find its compiler errors incredibly helpful! I don’t quite understand the author‘s complaint either - the error message in the example (like most others) does state quite precisely what went wrong and how to fix it (By default, variables in Rust are immutable. To fix this error, add the keyword
`mut` after the keyword `let` when declaring the variable.). I wonder what the author is wishing for? |
|