Skip to content
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

Document #![feature(bind_by_move_pattern_guards)] #656

Closed
Centril opened this issue Aug 20, 2019 · 1 comment · Fixed by #720
Closed

Document #![feature(bind_by_move_pattern_guards)] #656

Centril opened this issue Aug 20, 2019 · 1 comment · Fixed by #720
Labels
New Content Missing features or aspects of language not currently documented. RFC Stabilization Docs Documentation required for stabilizing a feature

Comments

@Centril
Copy link
Contributor

Centril commented Aug 20, 2019

Stabilized in: rust-lang/rust#63118
RFC: rust-lang/rfcs#107
Tracking issue: rust-lang/rust#15287

@Centril Centril added New Content Missing features or aspects of language not currently documented. RFC Stabilization Docs Documentation required for stabilizing a feature labels Aug 20, 2019
@Centril
Copy link
Contributor Author

Centril commented Nov 20, 2019

This could probably be documented informally by adding a sentence or two in the sentence in the section on match in the paragraph on if guards:

Match arms can accept match guards to further refine the criteria for matching a case. Pattern guards appear after the pattern and consist of a bool-typed expression following the if keyword. A pattern guard may refer to the variables bound within the pattern they follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Content Missing features or aspects of language not currently documented. RFC Stabilization Docs Documentation required for stabilizing a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant