about summary refs log tree commit diff
path: root/src/libstd/vec.rs
diff options
context:
space:
mode:
authorBirunthan Mohanathas <birunthan@mohanathas.com>2013-07-22 19:03:39 +0300
committerDaniel Micay <danielmicay@gmail.com>2013-07-24 09:45:20 -0400
commitd047cf1ec612f766365bde0c9d146b58ef3cc7c7 (patch)
tree1e78f76ac07c358321b3d32d2d943a47a8c1dc32 /src/libstd/vec.rs
parentaf5a17b7d0788438bb6b39cccfc96a0b13e00250 (diff)
downloadrust-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.rs4
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);
      * }
      * ~~~
      *