mirror of
https://github.com/servo/servo.git
synced 2025-10-11 22:10:18 +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
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue