aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/util/str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/util/str.rs b/components/util/str.rs
index 7606cde47a4..180d834a05e 100644
--- a/components/util/str.rs
+++ b/components/util/str.rs
@@ -26,6 +26,8 @@ use std::str::{CharIndices, FromStr, Split, from_utf8};
#[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Deserialize, Serialize, Hash, Debug)]
pub struct DOMString(pub String);
+impl !Send for DOMString {}
+
impl DOMString {
pub fn new() -> DOMString {
DOMString(String::new())