mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
5db67b5981
commit
0da1623788
1 changed files with 1 additions and 1 deletions
|
@ -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 {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue