Skip to content

Library doesn't have a way to iterate over an integer range with for #2439

Closed

Description

@msullivan

We have a convention for early break from iteration functions; we should update int::range to use it or we should add a new function that does this.

Activity

  1. eholk commented on May 24, 2012

    @eholk
    Contributor

    @pcwalton ran into this issue yesterday too.

  2. nikomatsakis commented on May 25, 2012

    @nikomatsakis
    Contributor

    It is my opinion that all iter() style functions are outdated and should be replaced with breakable equivalents.

  3. brson commented on May 26, 2012

    @brson
    Contributor

    Fixed in 432c6cb

  4. added a commit that references this issue on Sep 22, 2022
  5. added a commit that references this issue on Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions