Skip to content

Some things don't implement IntoIterator #26220

Closed
@Veedrac

Description

@Veedrac

There are some missing IntoIterators:

  • By-reference and mut-reference for Option
  • By-reference and mut-reference for Result
  • By-reference for Path
  • Several misc. internal things (TraitObligationStackList, SearchPaths, ArchiveRO, RawTable, Book)

Given the by-value IntoIterator impls for Option and Result, I don't see why by-reference iteration would be special. Path should probably be IntoIterator. I'm indifferent with regards to internal stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions