Allow certain clippy lints

This commit is contained in:
spikecodes 2021-03-08 19:22:10 -08:00
parent 6c7188a1b9
commit 5fb88d4744
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB

View File

@ -1,6 +1,12 @@
// Global specifiers // Global specifiers
#![forbid(unsafe_code)] #![forbid(unsafe_code)]
#![warn(clippy::pedantic, clippy::all)] #![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 // Reference local files
mod post; mod post;