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

@ -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 {