Skip to content

Commit a53597d

Browse files
committed
fmt! -> format!
1 parent db68666 commit a53597d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub enum ErrorReason {
121121

122122
impl ToStr for SyntaxError {
123123
fn to_str(&self) -> ~str {
124-
fmt!("%u:%u %?", self.location.line, self.location.column, self.reason)
124+
format!("{:u}:{:u} {:?}", self.location.line, self.location.column, self.reason)
125125
}
126126
}
127127

0 commit comments

Comments
 (0)