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.
fn main() { let mut x = &mut 5; *x = 4; println!("{}", x); }
Playground
This does not print a warning that x doesn't need to be mutable, even though the binding never changes.