Skip to content

Kleene operator section does not specify minimum Rust version  #128

@NPN

Description

@NPN
Contributor

The section "At most one repetition" does not specify a minimum Rust version. On the latest stable (rustc 1.31.0 (abe02cefd 2018-12-04)), the operator is still unstable:

error[E0658]: using the `?` macro Kleene operator for "at most one" repetition is unstable (see issue #48075)                                  

A comment on the PR adding the section suggests that the operator will actually be added in 1.32. If so, a badge should be added to the section.

Activity

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

        Participants

        @NPN

        Issue actions

          Kleene operator section does not specify minimum Rust version · Issue #128 · rust-lang/edition-guide