aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ExtFmt.rs
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-04-11 20:22:05 -0400
committerBrian Anderson <[email protected]>2011-04-11 21:51:23 -0400
commitc41796f2ca93e5773c835d4c211e812fe165ef90 (patch)
tree57258ab446294f375d6a95fdfadabe4a186ad77a /src/lib/ExtFmt.rs
parentMake ExtFmt call its own functions instead of others defined in std (diff)
downloadrust-c41796f2ca93e5773c835d4c211e812fe165ef90.tar.xz
rust-c41796f2ca93e5773c835d4c211e812fe165ef90.zip
Use correct indentation for ExtFmt.rs
Diffstat (limited to 'src/lib/ExtFmt.rs')
-rw-r--r--src/lib/ExtFmt.rs21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/lib/ExtFmt.rs b/src/lib/ExtFmt.rs
index 144406cf..e7414ada 100644
--- a/src/lib/ExtFmt.rs
+++ b/src/lib/ExtFmt.rs
@@ -261,11 +261,20 @@ fn parse_type(str s, uint i, uint lim) -> tup(ty, uint) {
// Functions used by the fmt extension at runtime
mod RT {
- fn int_to_str(int i) -> str {
- ret _int.to_str(i, 10u);
- }
+ fn int_to_str(int i) -> str {
+ ret _int.to_str(i, 10u);
+ }
- fn uint_to_str(uint u) -> str {
- ret _uint.to_str(u, 10u);
- }
+ fn uint_to_str(uint u) -> str {
+ ret _uint.to_str(u, 10u);
+ }
}
+
+// Local Variables:
+// mode: rust;
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End: