aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/root.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2025-01-18 21:39:16 -0500
committerGitHub <noreply@github.com>2025-01-19 02:39:16 +0000
commit84bf7caaa6b6ce11d0f4e65406ab304c0d588dbd (patch)
treed52f6ff808ac91e8b601cb83e96a14c236670f79 /components/script/dom/bindings/root.rs
parent9306f575c970573224deb9a723e876bf77e22e78 (diff)
downloadservo-84bf7caaa6b6ce11d0f4e65406ab304c0d588dbd.tar.gz
servo-84bf7caaa6b6ce11d0f4e65406ab304c0d588dbd.zip
Remove unneeded allow annotation. (#35025)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/bindings/root.rs')
-rw-r--r--components/script/dom/bindings/root.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/dom/bindings/root.rs b/components/script/dom/bindings/root.rs
index 142e981120c..d6b7d451362 100644
--- a/components/script/dom/bindings/root.rs
+++ b/components/script/dom/bindings/root.rs
@@ -43,7 +43,6 @@ use crate::dom::bindings::trace::{trace_reflector, JSTraceable};
use crate::dom::node::Node;
/// A rooted value.
-#[cfg_attr(crown, allow(crown::unrooted_must_root))]
#[cfg_attr(crown, crown::unrooted_must_root_lint::allow_unrooted_interior)]
pub(crate) struct Root<T: StableTraceObject> {
/// The value to root.