-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
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
Apply select clippy perf lints #374
Open
jqnatividad
wants to merge
9
commits into
BurntSushi:master
Choose a base branch
from
jqnatividad:select-clippy-perf-lints
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Apply select clippy perf lints #374
jqnatividad
wants to merge
9
commits into
BurntSushi:master
from
jqnatividad:select-clippy-perf-lints
Commits on Aug 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ebf4040 - Browse repository at this point
Copy the full SHA ebf4040View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cba81c - Browse repository at this point
Copy the full SHA 6cba81cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 696e46c - Browse repository at this point
Copy the full SHA 696e46cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c66bf2b - Browse repository at this point
Copy the full SHA c66bf2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 048ac75 - Browse repository at this point
Copy the full SHA 048ac75View commit details -
Configuration menu - View commit details
-
Copy full SHA for c78c9d3 - Browse repository at this point
Copy the full SHA c78c9d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876c405 - Browse repository at this point
Copy the full SHA 876c405View commit details -
warning: useless conversion to the same type: `&str` --> src/deserializer.rs:428:58 | 428 | self.next_field().and_then(|f| visitor.visit_str(f.into())) | ^^^^^^^^ help: consider removing `.into()`: `f` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
Configuration menu - View commit details
-
Copy full SHA for da9cf34 - Browse repository at this point
Copy the full SHA da9cf34View commit details -
clippy: another useless_conversion
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> src/string_record.rs:667:33 | 667 | StringRecord::from_iter(xs.into_iter()) | ^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `xs` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/library/core/src/iter/traits/collect.rs:152:21 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Configuration menu - View commit details
-
Copy full SHA for b4b3d71 - Browse repository at this point
Copy the full SHA b4b3d71View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.