diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2019-03-10 13:20:07 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2019-03-10 17:51:35 +0100 |
commit | 5fe5e5d6debef5adf234b650ee1b758e683a5230 (patch) | |
tree | e4b761bb1bb074acbe6d580066ca54bd23a9c793 /components/script/lib.rs | |
parent | 7bdfad92a5a2bf34fcabb38f99789b3f5d7989af (diff) | |
download | servo-5fe5e5d6debef5adf234b650ee1b758e683a5230.tar.gz servo-5fe5e5d6debef5adf234b650ee1b758e683a5230.zip |
Remove most RootedReference uses
We can replace all uses of RootedReference for Option<T> by Option::deref calls.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index b66631428ad..a1ba351888a 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -6,6 +6,7 @@ #![cfg_attr(feature = "unstable", feature(on_unimplemented))] #![feature(const_fn)] #![feature(drain_filter)] +#![feature(inner_deref)] #![feature(plugin)] #![feature(type_alias_enum_variants)] #![deny(unsafe_code)] |