diff options
author | Stjepan Glavina <stjepang@gmail.com> | 2016-04-12 19:20:44 +0200 |
---|---|---|
committer | Stjepan Glavina <stjepang@gmail.com> | 2016-04-12 19:20:44 +0200 |
commit | 524bf440e7175362605a664941365584b9a57f36 (patch) | |
tree | f21ecd996c01f6acecae176d7d9c7dd7632526c0 /components/script/dom | |
parent | 39ab006c8f71404d2fcd81f7715b7b9e47d5aead (diff) | |
download | servo-524bf440e7175362605a664941365584b9a57f36.tar.gz servo-524bf440e7175362605a664941365584b9a57f36.zip |
Fix typo: `cannot not outlive` -> `cannot outlive`
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/bindings/js.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T: Castable> Root<T> { impl<T: Reflectable> Root<T> { /// 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<T> { debug_assert!(thread_state::get().is_script()); |