diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-04-05 00:41:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 00:41:59 -0400 |
commit | 36f55de4d2030f8792f61a0e6c1d9ddb4ea99a61 (patch) | |
tree | 8c3a3e183cef3c484a7a106843fbee0431c312ba | |
parent | e4f9033ed8e26d75cd95f4407ef588d12cd8718e (diff) |
other: add clippy lints to deny todo and unimplemented (#1085)
-rw-r--r-- | src/bin/main.rs | 4 | ||||
-rw-r--r-- | src/lib.rs | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs index 0b3a9bd5..bbe6d3d2 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -1,6 +1,8 @@ #![warn(rust_2018_idioms)] +#![deny(clippy::todo)] +#![deny(clippy::unimplemented)] #![deny(clippy::missing_safety_doc)] -#[allow(unused_imports)] +#[allow(unused_imports)] // TODO: Deny unused imports. #[cfg(feature = "log")] #[macro_use] extern crate log; @@ -6,9 +6,10 @@ //! bottom, refer to [here](https://clementtsang.github.io/bottom/stable/). #![warn(rust_2018_idioms)] +#![deny(clippy::todo)] +#![deny(clippy::unimplemented)] #![deny(clippy::missing_safety_doc)] -// TODO: Deny unused imports. -#[allow(unused_imports)] +#[allow(unused_imports)] // TODO: Deny unused imports. // Only used for builds not intended for release. #[cfg(feature = "log")] #[macro_use] |