Skip to content

Commit

Permalink
Fix typo: cannot not outlive -> cannot outlive
Browse files Browse the repository at this point in the history
  • Loading branch information
Stjepan Glavina committed Apr 12, 2016
1 parent 39ab006 commit 524bf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/bindings/js.rs
Expand Up @@ -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());
Expand Down

0 comments on commit 524bf44

Please sign in to comment.