Skip to content

Add some notes on repetition - #424

Merged
Havvy merged 2 commits into
rust-lang:masterfrom
mark-i-m:macro_at_most_once_rep
Sep 27, 2018
Merged

Add some notes on repetition#424
Havvy merged 2 commits into
rust-lang:masterfrom
mark-i-m:macro_at_most_once_rep

Conversation

@mark-i-m

Copy link
Copy Markdown
Contributor

cc rust-lang/rust#51934

The new Kleene op is not stable yet, but the removal of ? as a separator is. I can split this up into two PRs if you want.

Comment threadsrc/macros-by-example.md Outdated
on a successful match. The job of the transcriber is to sort that structure
out.

> **Edition Differences**: In the 2018 edition, a new Kleene operator was

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What ? means should be defined outside of the edition differences section. And then the edition differences section should just state that it's not available in the 2015 edition.

@HavvyHavvy added New Content Missing features or aspects of language not currently documented. RFC Stabilization Docs Documentation required for stabilizing a feature labels Sep 25, 2018
@mark-i-m

Copy link
Copy Markdown
ContributorAuthor

@Havvy better now?

@Havvy
Havvy merged commit e09454d into rust-lang:masterSep 27, 2018
@Havvy

Copy link
Copy Markdown
Contributor

💟 Thanks!

Looking at the tracking issue, I think this is already stable in nightly Rust. If it's not, we can revert the two commits.

@mark-i-m

Copy link
Copy Markdown
ContributorAuthor

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New ContentMissing features or aspects of language not currently documented.RFC Stabilization DocsDocumentation required for stabilizing a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mark-i-m@Havvy