aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-11-07 22:40:18 +0530
committerJosh Matthews <josh@joshmatthews.net>2015-11-27 00:15:29 -0500
commitdc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c (patch)
tree5a4f80662d4c7b5b18adc49a325015e971380225 /components/script/dom/document.rs
parentbc618b0d535e0e67a7ea845c026678113f000d64 (diff)
downloadservo-dc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c.tar.gz
servo-dc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c.zip
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
… and libc 0.2 and many other dependencies
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r--components/script/dom/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index 19adfbd490d..a3874f9b64f 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -1659,7 +1659,7 @@ impl DocumentMethods for Document {
if let Some(&Host::Ipv6(ipv6)) = origin.host() {
// Omit square brackets for IPv6 addresses.
- return DOMString::from(ipv6.serialize());
+ return DOMString::from(ipv6.to_string());
}
DOMString::from(origin.serialize_host().unwrap_or_else(|| "".to_owned()))