From 0ea669c640d5c88d434a56f3b0594370c583e127 Mon Sep 17 00:00:00 2001 From: Cosmic Horror Date: Mon, 11 Dec 2023 05:07:53 -0700 Subject: [PATCH] `#![deny]` some useful clippy lints --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index cddbac9d..725b4d2c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,12 @@ // I don't really care enough about the names here to fix things atm clippy::enum_variant_names, )] +#![deny( + // Generally we don't want this sneaking into `main` + clippy::todo, + // This should be used very sparingly compared between logging and clap + clippy::print_stdout, clippy::print_stderr, +)] pub mod color; mod debug_impls;