From d93a05ed4d75253d82e94178467d9b389f574795 Mon Sep 17 00:00:00 2001 From: Tpt Date: Thu, 27 Aug 2020 22:46:37 +0200 Subject: [PATCH] Adds some extra clippy lints --- lib/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 52c73c01..bd1ec770 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -53,7 +53,6 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/oxigraph/oxigraph/master/logo.svg")] #![doc(html_logo_url = "https://raw.githubusercontent.com/oxigraph/oxigraph/master/logo.svg")] #![warn( - clippy::unimplemented, clippy::cast_lossless, clippy::cast_possible_truncation, clippy::cast_possible_wrap, @@ -62,11 +61,13 @@ clippy::checked_conversions, clippy::decimal_literal_representation, //TODO clippy::doc_markdown, + //clippy::else_if_without_else, clippy::empty_enum, clippy::expect_used, clippy::expl_impl_clone_on_copy, clippy::explicit_into_iter_loop, clippy::explicit_iter_loop, + clippy::expl_impl_clone_on_copy, clippy::fallible_impl_from, clippy::filter_map, clippy::filter_map_next, @@ -76,12 +77,15 @@ clippy::inline_always, clippy::invalid_upcast_comparisons, clippy::items_after_statements, + clippy::map_entry, clippy::map_flatten, clippy::map_unwrap_or, //TODO clippy::match_same_arms, clippy::maybe_infinite_iter, clippy::mem_forget, //TODO clippy::must_use_candidate, + //TODO clippy::missing_const_for_fn, + clippy::multiple_crate_versions, clippy::multiple_inherent_impl, clippy::mut_mut, clippy::needless_borrow, @@ -102,6 +106,7 @@ clippy::todo, clippy::type_repetition_in_bounds, clippy::unicode_not_nfc, + clippy::unimplemented, clippy::unseparated_literal_suffix, clippy::used_underscore_binding, clippy::wildcard_dependencies,