Adds some extra clippy lints

pull/58/head
Tpt 4 years ago
parent 3ecaaf07c0
commit d93a05ed4d
  1. 7
      lib/src/lib.rs

@ -53,7 +53,6 @@
#![doc(html_favicon_url = "https://raw.githubusercontent.com/oxigraph/oxigraph/master/logo.svg")] #![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")] #![doc(html_logo_url = "https://raw.githubusercontent.com/oxigraph/oxigraph/master/logo.svg")]
#![warn( #![warn(
clippy::unimplemented,
clippy::cast_lossless, clippy::cast_lossless,
clippy::cast_possible_truncation, clippy::cast_possible_truncation,
clippy::cast_possible_wrap, clippy::cast_possible_wrap,
@ -62,11 +61,13 @@
clippy::checked_conversions, clippy::checked_conversions,
clippy::decimal_literal_representation, clippy::decimal_literal_representation,
//TODO clippy::doc_markdown, //TODO clippy::doc_markdown,
//clippy::else_if_without_else,
clippy::empty_enum, clippy::empty_enum,
clippy::expect_used, clippy::expect_used,
clippy::expl_impl_clone_on_copy, clippy::expl_impl_clone_on_copy,
clippy::explicit_into_iter_loop, clippy::explicit_into_iter_loop,
clippy::explicit_iter_loop, clippy::explicit_iter_loop,
clippy::expl_impl_clone_on_copy,
clippy::fallible_impl_from, clippy::fallible_impl_from,
clippy::filter_map, clippy::filter_map,
clippy::filter_map_next, clippy::filter_map_next,
@ -76,12 +77,15 @@
clippy::inline_always, clippy::inline_always,
clippy::invalid_upcast_comparisons, clippy::invalid_upcast_comparisons,
clippy::items_after_statements, clippy::items_after_statements,
clippy::map_entry,
clippy::map_flatten, clippy::map_flatten,
clippy::map_unwrap_or, clippy::map_unwrap_or,
//TODO clippy::match_same_arms, //TODO clippy::match_same_arms,
clippy::maybe_infinite_iter, clippy::maybe_infinite_iter,
clippy::mem_forget, clippy::mem_forget,
//TODO clippy::must_use_candidate, //TODO clippy::must_use_candidate,
//TODO clippy::missing_const_for_fn,
clippy::multiple_crate_versions,
clippy::multiple_inherent_impl, clippy::multiple_inherent_impl,
clippy::mut_mut, clippy::mut_mut,
clippy::needless_borrow, clippy::needless_borrow,
@ -102,6 +106,7 @@
clippy::todo, clippy::todo,
clippy::type_repetition_in_bounds, clippy::type_repetition_in_bounds,
clippy::unicode_not_nfc, clippy::unicode_not_nfc,
clippy::unimplemented,
clippy::unseparated_literal_suffix, clippy::unseparated_literal_suffix,
clippy::used_underscore_binding, clippy::used_underscore_binding,
clippy::wildcard_dependencies, clippy::wildcard_dependencies,

Loading…
Cancel
Save