Made DOMString opaque.

Removed the "pub" attribute from the String field of DOMString.
This enables experimenting with other string representations.
This commit is contained in:
Alan Jeffrey 2015-11-11 17:32:13 -06:00
parent 5db67b5981
commit 0da1623788

View file

@ -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 {}