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
In this part of code clippy error message not inline with the intent.
rustlings/exercises/22_clippy/clippy3.rs
Lines 20 to 21 in fbfd4f2
Because the solution stated that this is about using clear instead of resize.
clear
resize
rustlings/solutions/22_clippy/clippy3.rs
Lines 20 to 23 in fbfd4f2
The text was updated successfully, but these errors were encountered:
Additionally
if my_option.is_none() { println!("{:?}", my_option.unwrap()); }
triggers in clippy:
help: remove the `None` and `unwrap()`
triggers in me:
if my_option.is_none() { println!("{:?}", my_option); }
and it passes the test and I feel I got the point, but the solution tells me otherwise ...
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
In this part of code clippy error message not inline with the intent.
rustlings/exercises/22_clippy/clippy3.rs
Lines 20 to 21 in fbfd4f2
Because the solution stated that this is about using
clear
instead ofresize
.rustlings/solutions/22_clippy/clippy3.rs
Lines 20 to 23 in fbfd4f2
The text was updated successfully, but these errors were encountered: