Open
Description
C-ITER recommends implementing three methods for collections: iter()
, iter_mut()
and into_iter()
. It fails to mention that into_iter()
can (and probably should?) be implemented by implementing the IntoIterator
trait.
Additionally, the Examples section has a broken link to https://doc.rust-lang.org/std/vec/struct.Vec.html#method.into_iter instead of https://doc.rust-lang.org/std/vec/struct.Vec.html#impl-IntoIterator.