-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
OCD: Satisfy some pedantic clippies #874
Comments
Thanks for your involvement and enthusiasm to make the codebase better! It's good to see that not all of these have to be implemented 'just to be implemented', but overall the goal here is to make the code more readable and more idiomatic (which probably is another way of saying the same thing, who knows). With that said, I hope you don't mind owning this tracking ticket, and you are welcome to work on it as well :). |
Thx @Byron , I will (slowly) try to hack on these. One of my "side goals" is to improve Clippy itself, so working on a large code base like yours allows one to spot issues there. Also, the side benefit is that it helps optimize the size and performance of the codebase itself, so we all win :) |
|
I find this one really noisy for nor much gain, I'm going to skip it |
Refused in #903, should be crossed out |
This list has been updated with the new generation method |
This is a (infrequently updated) list of the failing pedantic issues. Some probably should not be implemented.
To regenerate, use this bash command with
jq
:clippy::default_trait_access
clippy::doc_markdown
Cleaning up documentation #876clippy::semicolon_if_nothing_returned
Add missing semicolons #1546clippy::missing_panics_doc
clippy::cast_possible_truncation
clippy::needless_pass_by_value
clippy::return_self_not_must_use
clippy::unreadable_literal
clippy::items_after_statements
clippy::single_match_else
clippy::too_many_lines
clippy::module_name_repetitions
clippy::unnecessary_wraps
clippy::match_same_arms
clippy::cast_lossless
Fix clippy::cast_lossless #1547clippy::ignored_unit_patterns
clippy::used_underscore_binding
clippy::needless_raw_string_hashes
clippy::implicit_clone
Apply -W clippy::implicit-clone and docs #873clippy::manual_let_else
clippy::cast_precision_loss
clippy::trivially_copy_pass_by_ref
clippy::redundant_else
clippy::if_not_else
clippy::match_wildcard_for_single_variants
clippy::cast_sign_loss
clippy::similar_names
clippy::struct_excessive_bools
clippy::cast_possible_wrap
clippy::explicit_iter_loop
clippy::explicit_into_iter_loop
clippy::explicit_deref_methods
clippy::inconsistent_struct_constructor
clippy::range_plus_one
clippy::inefficient_to_string
clippy::from_iter_instead_of_collect
clippy::unused_self
clippy::many_single_char_names
clippy::manual_string_new
clippy::iter_not_returning_iterator
clippy::option_option
clippy::inline_always
clippy::manual_assert
clippy::iter_without_into_iter
clippy::copy_iterator
clippy::should_panic_without_expect
clippy::transmute_ptr_to_ptr
clippy::match_wild_err_arm
clippy::manual_is_variant_and
clippy::bool_to_int_with_if
clippy::struct_field_names
clippy::wildcard_imports
clippy::needless_for_each
clippy::naive_bytecount
clippy::mut_mut
clippy::match_bool
clippy::fn_params_excessive_bools
clippy::filter_map_next
clippy::checked_conversions
clippy::borrow_as_ptr
clippy::unnecessary_join
clippy::stable_sort_primitive
clippy::no_effect_underscore_binding
Done/Ignored
clippy::cloned_instead_of_copied
Apply -W clippy::cloned-instead-of-copied #875x1792clippy::missing_errors_doc
x1696clippy::must_use_candidate
x97clippy: activateclippy::enum_glob_use
clippy::enum-glob-use
#903The text was updated successfully, but these errors were encountered: