diff options
| author | Birunthan Mohanathas <birunthan@mohanathas.com> | 2013-07-22 19:03:39 +0300 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-07-24 09:45:20 -0400 |
| commit | d047cf1ec612f766365bde0c9d146b58ef3cc7c7 (patch) | |
| tree | 1e78f76ac07c358321b3d32d2d943a47a8c1dc32 /src/libstd/num | |
| parent | af5a17b7d0788438bb6b39cccfc96a0b13e00250 (diff) | |
| download | rust-d047cf1ec612f766365bde0c9d146b58ef3cc7c7.tar.gz rust-d047cf1ec612f766365bde0c9d146b58ef3cc7c7.zip | |
Change 'print(fmt!(...))' to printf!/printfln! in src/lib*
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/uint_macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/num/uint_macros.rs b/src/libstd/num/uint_macros.rs index 54c1327fa93..acf7ea683fb 100644 --- a/src/libstd/num/uint_macros.rs +++ b/src/libstd/num/uint_macros.rs @@ -103,7 +103,7 @@ fn range_step_core(start: $T, stop: $T, step: $T_SIGNED, r: Range, it: &fn($T) - /// let nums = [1,2,3,4,5,6,7]; /// /// for uint::range_step(0, nums.len() - 1, 2) |i| { -/// println(fmt!("%d & %d", nums[i], nums[i+1])); +/// printfln!("%d & %d", nums[i], nums[i+1]); /// } /// ~~~ /// |
