Skip to content

Commit c27f837

Browse files
committed
Upgrade to rustc 0.9-pre (7075eb3 2013-10-24 05:11:06 -0700)
1 parent 0978ae5 commit c27f837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ast.rs

+1-1
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!("{}:{} {:?}", self.location.line, self.location.column, self.reason)
125125
}
126126
}
127127

0 commit comments

Comments
 (0)