File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 225225//! often called 'iterator adapters', as they're a form of the 'adapter
226226//! pattern'.
227227//!
228- //! Common iterator adapters include [`map()`], [`take()`], and [`collect ()`].
228+ //! Common iterator adapters include [`map()`], [`take()`], and [`filter ()`].
229229//! For more, see their documentation.
230230//!
231231//! [`map()`]: trait.Iterator.html#method.map
232232//! [`take()`]: trait.Iterator.html#method.take
233- //! [`collect ()`]: trait.Iterator.html#method.collect
233+ //! [`filter ()`]: trait.Iterator.html#method.filter
234234//!
235235//! # Laziness
236236//!
268268//! [`map()`]: trait.Iterator.html#method.map
269269//!
270270//! The two most common ways to evaluate an iterator are to use a `for` loop
271- //! like this, or using the [`collect()`] adapter to produce a new collection.
271+ //! like this, or using the [`collect()`] method to produce a new collection.
272272//!
273273//! [`collect()`]: trait.Iterator.html#method.collect
274274//!
You can’t perform that action at this time.
0 commit comments