Skip to content

Fix in-band lifetimes example with backreferences #2485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jturner314
Copy link
Contributor

Backreferences are listed as a "possible extension or alternative" in RFC #2115, so the examples should not include them. This is further reinforced by commit c20ea6d, which appears to have been intended to remove all instances of backreferences in the examples, but missed these. (Note, in particular, that the commit removed the backreferences in the example in the Summary section, and the two lines fixed in this PR are identical to two of the lines changed in that commit.)

@dhardy also observed this issue.

Backreferences are listed as a "possible extension or alternative" in
RFC rust-lang#2115, so the examples should not include them. This is further
reinforced by commit c20ea6d, which
appears to have been intended to remove all instances of
backreferences in the examples, but missed these.
@Centril Centril added the not-rfc For PRs that fix things like spelling mistakes, wrong file names, etc. label Jun 23, 2018
@jturner314
Copy link
Contributor Author

Fixed by #2486.

@jturner314 jturner314 closed this Jun 26, 2018
@jturner314 jturner314 deleted the fix-2115-backrefs branch June 26, 2018 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-rfc For PRs that fix things like spelling mistakes, wrong file names, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants