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/vec.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/vec.rs')
| -rw-r--r-- | src/libstd/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 9c66ee5eae4..8432f28a969 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -833,7 +833,7 @@ impl<'self,T> ImmutableVector<'self, T> for &'self [T] { * ~~~ {.rust} * let v = &[1,2,3,4]; * for v.window_iter().advance |win| { - * io::println(fmt!("%?", win)); + * printfln!(win); * } * ~~~ * @@ -862,7 +862,7 @@ impl<'self,T> ImmutableVector<'self, T> for &'self [T] { * ~~~ {.rust} * let v = &[1,2,3,4,5]; * for v.chunk_iter().advance |win| { - * io::println(fmt!("%?", win)); + * printfln!(win); * } * ~~~ * |
