-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
I-nominatedIndicates that an issue has been nominated for discussion during a team meeting.Indicates that an issue has been nominated for discussion during a team meeting.acceptedAn amendment that's been accepted and can be appliedAn amendment that's been accepted and can be appliedamendmentAmendments to existing guidelinesAmendments to existing guidelines
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.
kinggoesgaming
Metadata
Metadata
Assignees
Labels
I-nominatedIndicates that an issue has been nominated for discussion during a team meeting.Indicates that an issue has been nominated for discussion during a team meeting.acceptedAn amendment that's been accepted and can be appliedAn amendment that's been accepted and can be appliedamendmentAmendments to existing guidelinesAmendments to existing guidelines