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

@ -55,7 +55,7 @@ pub trait HTMLHRElementMethods {
impl<'a> HTMLHRElementMethods for JSRef<'a, HTMLHRElement> {
fn Align(&self) -> DOMString {
~""
"".to_owned()
}
fn SetAlign(&mut self, _align: DOMString) -> ErrorResult {
@ -63,7 +63,7 @@ impl<'a> HTMLHRElementMethods for JSRef<'a, HTMLHRElement> {
}
fn Color(&self) -> DOMString {
~""
"".to_owned()
}
fn SetColor(&mut self, _color: DOMString) -> ErrorResult {
@ -79,7 +79,7 @@ impl<'a> HTMLHRElementMethods for JSRef<'a, HTMLHRElement> {
}
fn Size(&self) -> DOMString {
~""
"".to_owned()
}
fn SetSize(&mut self, _size: DOMString) -> ErrorResult {
@ -87,7 +87,7 @@ impl<'a> HTMLHRElementMethods for JSRef<'a, HTMLHRElement> {
}
fn Width(&self) -> DOMString {
~""
"".to_owned()
}
fn SetWidth(&mut self, _width: DOMString) -> ErrorResult {