diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-01-18 09:52:23 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-01-18 09:52:23 +0100 |
commit | ff0992401eacdc6a1eca638e2bf7f61642c95c13 (patch) | |
tree | f1bd1f8e5298688b76f548b45fd27b143b92faca /components/script/dom/bindings/js.rs | |
parent | 754120684b460772da1f12498839ac4b1585d080 (diff) | |
download | servo-ff0992401eacdc6a1eca638e2bf7f61642c95c13.tar.gz servo-ff0992401eacdc6a1eca638e2bf7f61642c95c13.zip |
Remove remaining reference to the long-disappeared JSRef type.
Diffstat (limited to 'components/script/dom/bindings/js.rs')
-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 5fb452883f3..6abf5f9b4e5 100644 --- a/components/script/dom/bindings/js.rs +++ b/components/script/dom/bindings/js.rs @@ -431,7 +431,7 @@ impl<T: Reflectable> LayoutJS<T> { } } -/// Get an `Option<JSRef<T>>` out of an `Option<Root<T>>` +/// Get an `Option<&T>` out of an `Option<Root<T>>` pub trait RootedReference<T> { /// Obtain a safe optional reference to the wrapped JS owned-value that /// cannot outlive the lifetime of this root. |