From c618c492b27696fedcf5b583bb8eb7baeabf2cb1 Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 3 Mar 2022 01:33:28 +0100 Subject: [PATCH] Warn on clippy::use_self --- cove-core/src/lib.rs | 2 ++ cove-server/src/main.rs | 2 ++ cove-tui/src/main.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/cove-core/src/lib.rs b/cove-core/src/lib.rs index 1f7e70c..8738109 100644 --- a/cove-core/src/lib.rs +++ b/cove-core/src/lib.rs @@ -1,3 +1,5 @@ +#![warn(clippy::use_self)] + pub mod conn; mod id; mod macros; diff --git a/cove-server/src/main.rs b/cove-server/src/main.rs index 9931733..62fc52a 100644 --- a/cove-server/src/main.rs +++ b/cove-server/src/main.rs @@ -1,5 +1,7 @@ // TODO Logging +#![warn(clippy::use_self)] + mod util; use std::collections::HashMap; diff --git a/cove-tui/src/main.rs b/cove-tui/src/main.rs index 291f995..a082ed2 100644 --- a/cove-tui/src/main.rs +++ b/cove-tui/src/main.rs @@ -1,3 +1,5 @@ +#![warn(clippy::use_self)] + mod config; mod cove; mod never;