diff options
author | bors-servo <release+servo@mozilla.com> | 2013-10-31 16:34:14 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-10-31 16:34:14 -0700 |
commit | 352acbb8335fcf78f2d62dc781fa9d86b9368f9c (patch) | |
tree | c27c2d41cbffc19415b4d183367568ff1682b688 /src/components/script/dom/node.rs | |
parent | 041f3a8b06e3f29e99464af752cad8f1a7e93540 (diff) | |
parent | aaf96b600363ec6d2a4d23cf318b47d9bbb743b5 (diff) | |
download | servo-352acbb8335fcf78f2d62dc781fa9d86b9368f9c.tar.gz servo-352acbb8335fcf78f2d62dc781fa9d86b9368f9c.zip |
auto merge of #1163 : metajack/servo/kmc-rust-upgrade, r=kmcallister
Most work courtesy of @kmcallister.
I already reviewed Keegan's work, so just the last two commits need attention.
Diffstat (limited to 'src/components/script/dom/node.rs')
-rw-r--r-- | src/components/script/dom/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/node.rs b/src/components/script/dom/node.rs index 43178101e01..725d69e711f 100644 --- a/src/components/script/dom/node.rs +++ b/src/components/script/dom/node.rs @@ -425,7 +425,7 @@ impl<'self, View> AbstractNode<View> { } s.push_str(self.debug_str()); - debug!("%s", s); + debug!("{:s}", s); // FIXME: this should have a pure version? for kid in self.children() { @@ -435,7 +435,7 @@ impl<'self, View> AbstractNode<View> { /// Returns a string that describes this node. pub fn debug_str(&self) -> ~str { - fmt!("%?", self.type_id()) + format!("{:?}", self.type_id()) } pub fn children(&self) -> AbstractNodeChildrenIterator<View> { |