]> git.lizzy.rs Git - rust.git/commit
core: Small fix in fold docs
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 18 Sep 2017 19:18:15 +0000 (21:18 +0200)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 18 Sep 2017 19:45:23 +0000 (21:45 +0200)
commitffd171e47f6cdd5b05e377cbcf088070720f31bc
treeda6f10e191186937085c8cff05383deab24de5e1
parentefceda220e92f02f7a29a15e4cf56f5a3cdf1792
core: Small fix in fold docs

Adaptors are things that take iterators and adapt them into other
iterators. With this definition, fold is just a usual method, because it
doesn't normally make an iterator.
src/libcore/iter/iterator.rs