From 5fb88d4744134fa1651a5085c2dd912051359e3e Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Mon, 8 Mar 2021 19:22:10 -0800 Subject: [PATCH] Allow certain clippy lints --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index 9fecc83..c312064 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,12 @@ // Global specifiers #![forbid(unsafe_code)] #![warn(clippy::pedantic, clippy::all)] +#![allow( + clippy::clippy::needless_pass_by_value, + clippy::match_wildcard_for_single_variants, + clippy::cast_possible_truncation, + clippy::similar_names +)] // Reference local files mod post;