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

Add more examples for | patterns in let in RFC 2175 #2646

merged 1 commit into from Feb 26, 2019


None yet
2 participants
Copy link

Manishearth commented Feb 26, 2019

This introduces no semantic changes to the RFC, and merely clarifies some things.

I wanted to better understand how let x | y was supposed to work and found the RFC rather confusing, especially since it doesn't have much of a guide-level section.

Added some examples to clarify things.

As let x | y isn't implemented yet this is the only place to find documentation about this proposed feature, so we should ensure it's good

r? @Centril.


This comment has been minimized.

Copy link

Centril commented Feb 26, 2019


@Centril Centril merged commit 754bc8b into rust-lang:master Feb 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.