From 85e827763e6c47bb7a15bf04ddc1d15924a746ca Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 27 Mar 2021 16:39:13 -0600 Subject: lint for ALL the things! --- src/main.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main.rs b/src/main.rs index a78d9c1..c7cbab9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,15 @@ +#![warn( + missing_docs, + unreachable_pub, + unsafe_code, + unused_crate_dependencies, + unused_results, + variant_size_differences, + clippy::pedantic, + clippy::cargo, + clippy::nursery +)] + use std::fs::metadata; use std::io::stdin; use std::path::PathBuf; -- cgit v1.2.3