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

Refutability: Mention let-else statement #3702

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

veera-sivarajan
Copy link

This PR mentions the let-else statement as an example of language construct that can accept both refutable and irrefutable patterns.

Copy link
Contributor

@chriskrycho chriskrycho left a comment

Choose a reason for hiding this comment

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

This seems like a good thing to have, but I do not think we actually use let...else anywhere in the text yet! I think it would be good to add, but we need to find the right spot to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants