From 97d263446dd87aa1789f90689467c15803f91437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Laitl?= Date: Wed, 18 Oct 2023 17:44:29 +0200 Subject: [PATCH] Clippy lints update: `all` is implied, add `todo` I must have been mistaken when originally introducing `clippy:all`, because these are, by definition, lints that are enabled without any configuration: https://doc.rust-lang.org/stable/clippy/usage.html#lint-configuration Add a lint that catches `todo!()` (but allows `panic!()`, `unreachable!()`, `unimplemented!()`) - you're encouraged to use it during development as a reminder for stuff to finish before a change can be merged. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6ff7268..134b370 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![warn(clippy::all, clippy::clone_on_ref_ptr)] +#![warn(clippy::clone_on_ref_ptr, clippy::todo)] //! This crate aims to provide a minimalist and high-performance actor framework //! for Rust with significantly less complexity than other frameworks like