Skip to content

Commit fd52df1

Browse files
committed
Fix pretty-printer breakage: 1000f -> 1000.
1 parent 18851e4 commit fd52df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ast_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ pure fn uint_ty_max(t: uint_ty) -> u64 {
163163
}
164164

165165
pure fn float_ty_to_str(t: float_ty) -> ~str {
166-
alt t { ty_f { ~"" } ty_f32 { ~"f32" } ty_f64 { ~"f64" } }
166+
alt t { ty_f { ~"f" } ty_f32 { ~"f32" } ty_f64 { ~"f64" } }
167167
}
168168

169169
fn is_exported(i: ident, m: _mod) -> bool {

0 commit comments

Comments
 (0)