From 524bf440e7175362605a664941365584b9a57f36 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Tue, 12 Apr 2016 19:20:44 +0200 Subject: [PATCH] Fix typo: `cannot not outlive` -> `cannot outlive` --- components/script/dom/bindings/js.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/bindings/js.rs b/components/script/dom/bindings/js.rs index 1736758e739..ddc7500395f 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());