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

@ -72,7 +72,7 @@ impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> {
}
fn Label(&self) -> DOMString {
~""
"".to_owned()
}
fn SetLabel(&mut self, _label: DOMString) -> ErrorResult {
@ -96,7 +96,7 @@ impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> {
}
fn Value(&self) -> DOMString {
~""
"".to_owned()
}
fn SetValue(&mut self, _value: DOMString) -> ErrorResult {
@ -104,7 +104,7 @@ impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> {
}
fn Text(&self) -> DOMString {
~""
"".to_owned()
}
fn SetText(&mut self, _text: DOMString) -> ErrorResult {