diff --git a/crates/bevy_time/src/lib.rs b/crates/bevy_time/src/lib.rs index c72e139824..cd6f6d298a 100644 --- a/crates/bevy_time/src/lib.rs +++ b/crates/bevy_time/src/lib.rs @@ -1,6 +1,11 @@ #![doc = include_str!("../README.md")] #![cfg_attr(docsrs, feature(doc_auto_cfg))] #![forbid(unsafe_code)] +#![deny( + clippy::allow_attributes, + clippy::allow_attributes_without_reason, + reason = "See #17111; To be removed once all crates are in-line with these attributes" +)] #![doc( html_logo_url = "https://bevyengine.org/assets/icon.png", html_favicon_url = "https://bevyengine.org/assets/icon.png" diff --git a/crates/bevy_time/src/timer.rs b/crates/bevy_time/src/timer.rs index 7b401135bc..5958975c96 100644 --- a/crates/bevy_time/src/timer.rs +++ b/crates/bevy_time/src/timer.rs @@ -447,7 +447,6 @@ pub enum TimerMode { } #[cfg(test)] -#[allow(clippy::float_cmp)] mod tests { use super::*;