mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
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.
This commit is contained in:
commit
352acbb833
84 changed files with 391 additions and 382 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue