Replace all ~"" with "".to_owned().

This commit is contained in:
Ms2ger 2014-05-03 22:17:45 +02:00
parent 731e66ff13
commit 243814022e
78 changed files with 290 additions and 290 deletions

View file

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