diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-24 22:16:43 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-26 17:05:59 -0700 |
| commit | 409182de6d74889134209e7fc98174eb8f267170 (patch) | |
| tree | 8f8c542b198cdb323038aa803ff6bff7433bd3bb /src/libstd/iter.rs | |
| parent | 09a53381974bcf42c0b081cbfcd9f20f1e5d4f04 (diff) | |
| download | rust-409182de6d74889134209e7fc98174eb8f267170.tar.gz rust-409182de6d74889134209e7fc98174eb8f267170.zip | |
Update the compiler to not use printf/printfln
Diffstat (limited to 'src/libstd/iter.rs')
| -rw-r--r-- | src/libstd/iter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/iter.rs b/src/libstd/iter.rs index 0e4cb895249..4695123548b 100644 --- a/src/libstd/iter.rs +++ b/src/libstd/iter.rs @@ -413,7 +413,7 @@ pub trait Iterator<A> { /// use std::iter::count; /// /// for i in count(0, 10) { - /// printfln!("%d", i); + /// println!("{}", i); /// } /// ``` #[inline] |
