diff options
| author | bors <bors@rust-lang.org> | 2013-07-29 15:49:18 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-29 15:49:18 -0700 |
| commit | bb996bf92edc5c9a34275bae6143f1ada73e6c7f (patch) | |
| tree | ea2ad50feddf7b7155f3cb67ec9f9d48f59cfc00 /src/test | |
| parent | d34016d1098bbd5e74fe18b99c4222b4fe709087 (diff) | |
| parent | 4b45f478818386cfe8554e3a5595c2cf38541b45 (diff) | |
| download | rust-bb996bf92edc5c9a34275bae6143f1ada73e6c7f.tar.gz rust-bb996bf92edc5c9a34275bae6143f1ada73e6c7f.zip | |
auto merge of #8090 : blake2-ppc/rust/iterator-adaptor-names, r=pcwalton
Drop the "Iterator" suffix for the the structs in std::iterator. Filter, Zip, Chain etc. are shorter type names for when iterator pipelines need their types written out in full in return value types, so it's easier to read and write. the iterator module already forms enough namespace.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/unfoldr-cross-crate.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/unfoldr-cross-crate.rs b/src/test/run-pass/unfoldr-cross-crate.rs index 7fcae90a8d1..7a86116d3ec 100644 --- a/src/test/run-pass/unfoldr-cross-crate.rs +++ b/src/test/run-pass/unfoldr-cross-crate.rs @@ -10,7 +10,7 @@ use std::iterator::*; -// UnfoldrIterator had a bug with 'self that mean it didn't work +// Unfoldr had a bug with 'self that mean it didn't work // cross-crate fn main() { @@ -24,7 +24,7 @@ fn main() { } } - let mut it = UnfoldrIterator::new(0, count); + let mut it = Unfoldr::new(0, count); let mut i = 0; for it.advance |counted| { assert_eq!(counted, i); |
