diff options
| author | Brian Anderson <[email protected]> | 2011-04-11 20:22:05 -0400 |
|---|---|---|
| committer | Brian Anderson <[email protected]> | 2011-04-11 21:51:23 -0400 |
| commit | c41796f2ca93e5773c835d4c211e812fe165ef90 (patch) | |
| tree | 57258ab446294f375d6a95fdfadabe4a186ad77a /src/lib | |
| parent | Make ExtFmt call its own functions instead of others defined in std (diff) | |
| download | rust-c41796f2ca93e5773c835d4c211e812fe165ef90.tar.xz rust-c41796f2ca93e5773c835d4c211e812fe165ef90.zip | |
Use correct indentation for ExtFmt.rs
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ExtFmt.rs | 21 |
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: |