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.
While it's pretty easy to write a function that makes an argument mutable:
fn foo(x: ~int) { let x = move x; ... }
It'd be nice to save a line here and there to add some sugar to express an argument is directly mutable, with something like:
fn foo(mut x: ~int) { ... }