From 921387b13eb97581d21bdae025889e524f059f41 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 9 Jul 2024 17:36:16 +0200 Subject: [PATCH] chore: add more clippy lints and fix some --- members/libpt-cli/src/lib.rs | 1 + src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/members/libpt-cli/src/lib.rs b/members/libpt-cli/src/lib.rs index df6a305..7ffceab 100644 --- a/members/libpt-cli/src/lib.rs +++ b/members/libpt-cli/src/lib.rs @@ -1,3 +1,4 @@ +#![warn(clippy::pedantic, clippy::style, clippy::nursery)] pub mod args; pub mod printing; pub mod repl; diff --git a/src/lib.rs b/src/lib.rs index 5b41b90..307f723 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,6 +5,7 @@ //! //! `pt` is a project consisting of multiple smaller crates, all bundled together in this //! "main crate". Most crates will only show up if you activate their feature. +#![warn(clippy::pedantic, clippy::style, clippy::nursery)] #[cfg_attr(docsrs, doc(cfg(feature = "full")))] #[cfg(feature = "bintols")] pub use libpt_bintols as bintols;