mirror of
https://github.com/servo/servo.git
synced 2025-10-09 13:09:25 +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
|
@ -49,7 +49,7 @@ pub trait HTMLBaseElementMethods {
|
|||
|
||||
impl<'a> HTMLBaseElementMethods for JSRef<'a, HTMLBaseElement> {
|
||||
fn Href(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetHref(&self, _href: DOMString) -> ErrorResult {
|
||||
|
@ -57,7 +57,7 @@ impl<'a> HTMLBaseElementMethods for JSRef<'a, HTMLBaseElement> {
|
|||
}
|
||||
|
||||
fn Target(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetTarget(&self, _target: DOMString) -> ErrorResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue