We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following code:
fn main() { let x = X { a: 1, b: fffff(1, 2), c: 1, }; let _ = x; }
Opening a new line while on the c-line puts the cursor here:
c
let x = X { a: 1, b: fffff(1, 2), c: 1, X };
cc @chris-morgan
The text was updated successfully, but these errors were encountered:
Fixed.
Sorry, something went wrong.
New lint: mem_replace_option_with_some (rust-lang#14197)
mem_replace_option_with_some
4129f5c
`mem::replace(opt, Some(v))` can be replaced by `opt.replace(v)`. Close rust-lang#14195 changelog: [`mem_replace_option_with_some`]: new lint
No branches or pull requests
Consider the following code:
Opening a new line while on the
c
-line puts the cursor here:cc @chris-morgan
The text was updated successfully, but these errors were encountered: