diff --git a/components/script/dom/bindings/js.rs b/components/script/dom/bindings/js.rs index 1736758e7399..ddc7500395f0 100644 --- a/components/script/dom/bindings/js.rs +++ b/components/script/dom/bindings/js.rs @@ -566,7 +566,7 @@ impl Root { impl Root { /// Create a new stack-bounded root for the provided JS-owned value. - /// It cannot not outlive its associated `RootCollection`, and it gives + /// It cannot outlive its associated `RootCollection`, and it gives /// out references which cannot outlive this new `Root`. pub fn new(unrooted: NonZero<*const T>) -> Root { debug_assert!(thread_state::get().is_script());