aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/attr.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-01-07 13:27:19 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-01-08 09:44:41 +0530
commit02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9 (patch)
treeb80ca8ca874d2e4b30b579795292c168daccbb39 /components/script/dom/attr.rs
parentbd636b0e6c4f124281ce9206eedd7f60ba4ed475 (diff)
downloadservo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.tar.gz
servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.zip
Add accountable-refcell as optional build time feature
Diffstat (limited to 'components/script/dom/attr.rs')
-rw-r--r--components/script/dom/attr.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs
index a25fcac3667..f81a3cf9817 100644
--- a/components/script/dom/attr.rs
+++ b/components/script/dom/attr.rs
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-use crate::dom::bindings::cell::DomRefCell;
+use crate::dom::bindings::cell::{DomRefCell, Ref};
use crate::dom::bindings::codegen::Bindings::AttrBinding::{self, AttrMethods};
use crate::dom::bindings::inheritance::Castable;
use crate::dom::bindings::root::{DomRoot, LayoutDom, MutNullableDom};
@@ -19,7 +19,6 @@ use dom_struct::dom_struct;
use html5ever::{LocalName, Namespace, Prefix};
use servo_atoms::Atom;
use std::borrow::ToOwned;
-use std::cell::Ref;
use std::mem;
use style::attr::{AttrIdentifier, AttrValue};