mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
fmt! -> format!
This commit is contained in:
parent
e7e7eab905
commit
e2b7885b73
54 changed files with 274 additions and 274 deletions
|
@ -410,7 +410,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() {
|
||||
|
@ -420,7 +420,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