aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/cell.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-01-26 11:56:46 +0000
committerJosh Matthews <josh@joshmatthews.net>2015-04-16 11:46:39 -0400
commit5c7be5c9c3f593fac14b9eec85b9d697528c78f4 (patch)
treeffee8ff67f96185c474a3aeadb44702a7dba97a7 /components/script/dom/bindings/cell.rs
parent7517aac9e989dd9a9795f809a5d489b224f50868 (diff)
downloadservo-5c7be5c9c3f593fac14b9eec85b9d697528c78f4.tar.gz
servo-5c7be5c9c3f593fac14b9eec85b9d697528c78f4.zip
Make async XMLHttpRequest requests use async network events.
Diffstat (limited to 'components/script/dom/bindings/cell.rs')
-rw-r--r--components/script/dom/bindings/cell.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/bindings/cell.rs b/components/script/dom/bindings/cell.rs
index b64d80cefc3..177fed9397b 100644
--- a/components/script/dom/bindings/cell.rs
+++ b/components/script/dom/bindings/cell.rs
@@ -16,6 +16,7 @@ use std::cell::{BorrowState, RefCell, Ref, RefMut};
///
/// This extends the API of `core::cell::RefCell` to allow unsafe access in
/// certain situations, with dynamic checking in debug builds.
+#[derive(Clone)]
pub struct DOMRefCell<T> {
value: RefCell<T>,
}