From 8350b2633a934955eb606f17bd3053f6fee4032e Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 9 Feb 2024 15:40:37 +0200 Subject: [PATCH] Tune up lints for 1.76 Rust --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f1da315..50140f3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,11 +79,12 @@ clippy::format_push_string, clippy::get_unwrap, clippy::if_then_some_else_none, - clippy::implied_bounds_in_impls, clippy::imprecise_flops, clippy::index_refutable_slice, + clippy::infinite_loop, clippy::iter_on_empty_collections, clippy::iter_on_single_items, + clippy::iter_over_hash_type, clippy::iter_with_drain, clippy::large_include_file, clippy::large_stack_frames, @@ -142,6 +143,7 @@ clippy::try_err, clippy::undocumented_unsafe_blocks, clippy::unimplemented, + clippy::uninhabited_references, clippy::unnecessary_safety_comment, clippy::unnecessary_safety_doc, clippy::unnecessary_self_imports, @@ -162,6 +164,7 @@ missing_debug_implementations, missing_docs, semicolon_in_expressions_from_macros, + unit_bindings, unreachable_pub, unused_crate_dependencies, unused_extern_crates,