From 409182de6d74889134209e7fc98174eb8f267170 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 24 Sep 2013 22:16:43 -0700 Subject: Update the compiler to not use printf/printfln --- src/libstd/vec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/vec.rs') diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index e54717053e9..be5ab35ff88 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -1003,7 +1003,7 @@ impl<'self,T> ImmutableVector<'self, T> for &'self [T] { * ```rust * let v = &[1,2,3,4]; * for win in v.window_iter() { - * printfln!(win); + * println!("{:?}", win); * } * ``` * @@ -1032,7 +1032,7 @@ impl<'self,T> ImmutableVector<'self, T> for &'self [T] { * ```rust * let v = &[1,2,3,4,5]; * for win in v.chunk_iter() { - * printfln!(win); + * println!("{:?}", win); * } * ``` * -- cgit 1.4.1-3-g733a5