]> git.lizzy.rs Git - rust.git/commit
Split core::iter module implementation into parts
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 18 Apr 2016 18:08:27 +0000 (20:08 +0200)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 18 Apr 2016 18:08:27 +0000 (20:08 +0200)
commit84654fa4bf8e532469787889efa01b59a3c98aa0
tree2632a3b3380e0bfd29ebcaa29d7fee8eb471e794
parent63760acf31e605c8a91bb5cbcbcb4bfb95435e48
Split core::iter module implementation into parts

split iter.rs into a directory of (implementation private) modules.

+ mod Adaptor structs
  - Private fields need to be available both for them and Iterator
+ iterator (Iterator trait)
+ traits (FromIterator, traits but Iterator itself)
+ range (range related)
+ sources (Repeat, Once, Empty)
src/libcore/iter.rs [deleted file]
src/libcore/iter/iterator.rs [new file with mode: 0644]
src/libcore/iter/mod.rs [new file with mode: 0644]
src/libcore/iter/range.rs [new file with mode: 0644]
src/libcore/iter/sources.rs [new file with mode: 0644]
src/libcore/iter/traits.rs [new file with mode: 0644]