Skip to content

Commit c41796f

Browse files
committed
Use correct indentation for ExtFmt.rs
1 parent ce85b9e commit c41796f

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

src/lib/ExtFmt.rs

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,20 @@ fn parse_type(str s, uint i, uint lim) -> tup(ty, uint) {
261261

262262
// Functions used by the fmt extension at runtime
263263
mod RT {
264-
fn int_to_str(int i) -> str {
265-
ret _int.to_str(i, 10u);
266-
}
264+
fn int_to_str(int i) -> str {
265+
ret _int.to_str(i, 10u);
266+
}
267267

268-
fn uint_to_str(uint u) -> str {
269-
ret _uint.to_str(u, 10u);
270-
}
268+
fn uint_to_str(uint u) -> str {
269+
ret _uint.to_str(u, 10u);
270+
}
271271
}
272+
273+
// Local Variables:
274+
// mode: rust;
275+
// fill-column: 78;
276+
// indent-tabs-mode: nil
277+
// c-basic-offset: 4
278+
// buffer-file-coding-system: utf-8-unix
279+
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
280+
// End:

0 commit comments

Comments
 (0)