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/iterator.rs | |
| 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/iterator.rs')
| -rw-r--r-- | src/libstd/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/iterator.rs b/src/libstd/iterator.rs index 2c971f0c9ce..0c2a7bb7b40 100644 --- a/src/libstd/iterator.rs +++ b/src/libstd/iterator.rs @@ -326,7 +326,7 @@ pub trait IteratorUtil<A> { /// use std::iterator::Counter; /// /// for Counter::new(0, 10).advance |i| { - /// io::println(fmt!("%d", i)); + /// printfln!("%d", i); /// } /// ~~~ fn advance(&mut self, f: &fn(A) -> bool) -> bool; |
