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
To detect whether the index is the same and whether there's unused or repeated assign.
No response
fn main() { let mut a = [0u8; 8]; a[0] = 1; a[0] = 1; a[0..3].copy_from_slice(&[1; 3]); }
Clippy didn't warn there are repeated assign to the index 0.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What it does
To detect whether the index is the same and whether there's unused or repeated assign.
Advantage
No response
Drawbacks
No response
Example
Clippy didn't warn there are repeated assign to the index 0.
The text was updated successfully, but these errors were encountered: