-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix most clippy pedantic and nursery lint warnings #124
Closed
Closed
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
fb3112f
lint: fix clippy::uninlined_format_args
willbush a29747d
lint: fix clippy::enum_glob_use
willbush a72675f
lint: fix clippy::doc_markdown
willbush 81b2649
lint: fix clippy::if_not_else
willbush c04cfb1
lint: fix clippy::ignored_unit_patterns
willbush 4690151
lint: allow clippy::unnecessary_wraps in one place
willbush 9a539a8
Error instead of silent truncation of usize to u32
willbush 6acb3c9
lint: fix clippy::needless_pass_by_value
willbush e32bd8b
lint: fix clippy::items_after_statements
willbush 88301a6
lint: fix missed clippy::needless_pass_by_value
willbush 32b20aa
lint: fix missed format arg
willbush dbc8cc8
lint: allow one clippy::unnested_or_patterns
willbush cb356db
lint: fix check_* functions (clippy::module_name_repetitions)
willbush 29c452b
lint: rename ratchet::RatchetState to ratchet::State
willbush 326cb0b
lint: rename nix_file::NixFileStore to nix_file::Store
willbush 7baf062
treefmt
willbush e07a7e7
lint: allow one clippy::module_name_repetitions for ColoredStatus
willbush 0d0bc13
Enable clippy pedantic warn
willbush 7b5d226
lint: fix nursery clippy::option_if_let_else
willbush 206893e
lint: fix nursery clippy::derive_partial_eq_without_eq
willbush cea3617
lint: fix redundant_clone
willbush 18b25df
lint: fix clippy::missing_const_for_fn
willbush 57723d6
lint: fix clippy::use_self
willbush f56b8c3
Enable clippy nursery lints
willbush f1c4088
Revert "lint: rename nix_file::NixFileStore to nix_file::Store"
willbush 1c7eaa1
Revert "lint: rename ratchet::RatchetState to ratchet::State"
willbush 93c8158
Revert "lint: fix check_* functions (clippy::module_name_repetitions)"
willbush 15b1c72
Remove redundant std::string namespace qualification.
willbush 1628d88
Remove clippy pedantic and nursery lints by default
willbush f01f260
treefmt
willbush File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably not needed. The process of understanding this area of the code base would now also need the reader to filter out these comments, detracting from readability.