We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.