mirror of
https://github.com/servo/servo.git
synced 2025-10-08 20:49:24 +01:00
Replace all ~"" with "".to_owned().
This commit is contained in:
parent
731e66ff13
commit
243814022e
78 changed files with 290 additions and 290 deletions
|
@ -53,7 +53,7 @@ pub trait HTMLMetaElementMethods {
|
|||
|
||||
impl<'a> HTMLMetaElementMethods for JSRef<'a, HTMLMetaElement> {
|
||||
fn Name(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
|
||||
|
@ -61,7 +61,7 @@ impl<'a> HTMLMetaElementMethods for JSRef<'a, HTMLMetaElement> {
|
|||
}
|
||||
|
||||
fn HttpEquiv(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetHttpEquiv(&mut self, _http_equiv: DOMString) -> ErrorResult {
|
||||
|
@ -69,7 +69,7 @@ impl<'a> HTMLMetaElementMethods for JSRef<'a, HTMLMetaElement> {
|
|||
}
|
||||
|
||||
fn Content(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetContent(&mut self, _content: DOMString) -> ErrorResult {
|
||||
|
@ -77,7 +77,7 @@ impl<'a> HTMLMetaElementMethods for JSRef<'a, HTMLMetaElement> {
|
|||
}
|
||||
|
||||
fn Scheme(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetScheme(&mut self, _scheme: DOMString) -> ErrorResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue