mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +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 HTMLParamElementMethods {
|
|||
|
||||
impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
|
||||
fn Name(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
|
||||
|
@ -61,7 +61,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
|
|||
}
|
||||
|
||||
fn Value(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetValue(&mut self, _value: DOMString) -> ErrorResult {
|
||||
|
@ -69,7 +69,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
|
|||
}
|
||||
|
||||
fn Type(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetType(&mut self, _type: DOMString) -> ErrorResult {
|
||||
|
@ -77,7 +77,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
|
|||
}
|
||||
|
||||
fn ValueType(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetValueType(&mut self, _value_type: DOMString) -> ErrorResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue