all: address clippy lints
This commit is contained in:
parent
0fe59effe2
commit
ae991b9038
28 changed files with 84 additions and 70 deletions
13
src/main.rs
13
src/main.rs
|
|
@ -26,7 +26,18 @@
|
|||
clippy::option_map_unit_fn,
|
||||
clippy::wrong_self_convention,
|
||||
clippy::single_char_add_str,
|
||||
clippy::ptr_eq
|
||||
clippy::ptr_eq,
|
||||
clippy::zero_prefixed_literal,
|
||||
clippy::unnecessary_unwrap,
|
||||
clippy::needless_return,
|
||||
clippy::missing_safety_doc,
|
||||
clippy::collapsible_if,
|
||||
clippy::mut_from_ref,
|
||||
clippy::bool_comparison,
|
||||
clippy::collapsible_match,
|
||||
clippy::field_reassign_with_default,
|
||||
clippy::new_ret_no_self,
|
||||
clippy::or_fun_call
|
||||
)]
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue