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.
The following code produces a unused_parens warning however if the parenthesis around the mut v are removed the code doesn't compile:
mut v
pub fn f(v: &u32) -> u32 { let &(mut v) = v; v += 1; v }