From 57f25d0a8a2b357efeda143801c4645e1c6cf86b Mon Sep 17 00:00:00 2001 From: Ashwin Naren Date: Wed, 27 Aug 2025 22:55:13 -0700 Subject: [PATCH] script: Fix bluetooth module clippy lint position to be consistent (#38974) As per discussion in #38900 Testing: None, minor refactor Signed-off-by: Ashwin Naren --- components/script/dom/bluetooth/mod.rs | 1 + components/script/dom/mod.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/bluetooth/mod.rs b/components/script/dom/bluetooth/mod.rs index 158e66073e4..32005c3b9a4 100644 --- a/components/script/dom/bluetooth/mod.rs +++ b/components/script/dom/bluetooth/mod.rs @@ -3,6 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ pub(crate) use self::bluetooth::*; +#[allow(clippy::module_inception, reason = "The interface name is Bluetooth")] pub(crate) mod bluetooth; pub(crate) mod bluetoothadvertisingevent; pub(crate) mod bluetoothcharacteristicproperties; diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs index fb472b83af8..881656b51ae 100644 --- a/components/script/dom/mod.rs +++ b/components/script/dom/mod.rs @@ -225,7 +225,6 @@ pub(crate) mod beforeunloadevent; pub(crate) mod bindings; pub(crate) mod blob; #[cfg(feature = "bluetooth")] -#[allow(clippy::module_inception)] pub(crate) mod bluetooth; #[cfg(feature = "bluetooth")] pub(crate) use self::bluetooth::*;