diff options
author | Keegan McAllister <kmcallister@mozilla.com> | 2013-09-18 14:46:42 -0700 |
---|---|---|
committer | Keegan McAllister <kmcallister@mozilla.com> | 2013-09-18 14:46:42 -0700 |
commit | 68ddc6b4ab653072841489a56421f52dd2c1e87a (patch) | |
tree | 15b39e5cd4347f46580a13244758ff6f770e0b9a /src/components/script/dom/htmlanchorelement.rs | |
parent | 5be084a3b6fe2557519d4cd8506efb6b026464d3 (diff) | |
download | servo-68ddc6b4ab653072841489a56421f52dd2c1e87a.tar.gz servo-68ddc6b4ab653072841489a56421f52dd2c1e87a.zip |
Make DOMString an alias for Option<~str>
Fixes #898.
Diffstat (limited to 'src/components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | src/components/script/dom/htmlanchorelement.rs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/components/script/dom/htmlanchorelement.rs b/src/components/script/dom/htmlanchorelement.rs index 4c8160b0c1b..7c5b6dcc4ee 100644 --- a/src/components/script/dom/htmlanchorelement.rs +++ b/src/components/script/dom/htmlanchorelement.rs @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use dom::htmlelement::HTMLElement; -use dom::bindings::utils::{DOMString, null_string, ErrorResult}; +use dom::bindings::utils::{DOMString, ErrorResult}; pub struct HTMLAnchorElement { parent: HTMLElement @@ -11,91 +11,91 @@ pub struct HTMLAnchorElement { impl HTMLAnchorElement { pub fn Href(&self) -> DOMString { - null_string + None } pub fn SetHref(&mut self, _href: &DOMString, _rv: &mut ErrorResult) { } pub fn Target(&self) -> DOMString { - null_string + None } pub fn SetTarget(&self, _target: &DOMString, _rv: &mut ErrorResult) { } pub fn Download(&self) -> DOMString { - null_string + None } pub fn SetDownload(&self, _download: &DOMString, _rv: &mut ErrorResult) { } pub fn Ping(&self) -> DOMString { - null_string + None } pub fn SetPing(&self, _ping: &DOMString, _rv: &mut ErrorResult) { } pub fn Rel(&self) -> DOMString { - null_string + None } pub fn SetRel(&self, _rel: &DOMString, _rv: &mut ErrorResult) { } pub fn Hreflang(&self) -> DOMString { - null_string + None } pub fn SetHreflang(&self, _href_lang: &DOMString, _rv: &mut ErrorResult) { } pub fn Type(&self) -> DOMString { - null_string + None } pub fn SetType(&mut self, _type: &DOMString, _rv: &mut ErrorResult) { } pub fn Text(&self) -> DOMString { - null_string + None } pub fn SetText(&mut self, _text: &DOMString, _rv: &mut ErrorResult) { } pub fn Coords(&self) -> DOMString { - null_string + None } pub fn SetCoords(&mut self, _coords: &DOMString, _rv: &mut ErrorResult) { } pub fn Charset(&self) -> DOMString { - null_string + None } pub fn SetCharset(&mut self, _charset: &DOMString, _rv: &mut ErrorResult) { } pub fn Name(&self) -> DOMString { - null_string + None } pub fn SetName(&mut self, _name: &DOMString, _rv: &mut ErrorResult) { } pub fn Rev(&self) -> DOMString { - null_string + None } pub fn SetRev(&mut self, _rev: &DOMString, _rv: &mut ErrorResult) { } pub fn Shape(&self) -> DOMString { - null_string + None } pub fn SetShape(&mut self, _shape: &DOMString, _rv: &mut ErrorResult) { |