diff --git a/components/util/str.rs b/components/util/str.rs index 97a3013ecad..4b190fa099a 100644 --- a/components/util/str.rs +++ b/components/util/str.rs @@ -24,7 +24,7 @@ use std::slice; use std::str::{CharIndices, FromStr, Split, from_utf8}; #[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Deserialize, Serialize, Hash, Debug)] -pub struct DOMString(pub String); +pub struct DOMString(String); impl !Send for DOMString {}