-
Notifications
You must be signed in to change notification settings - Fork 48
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
Consensus check: let
-chains and is
are not mutually exclusive
#297
Comments
@rfcbot merge |
Team member @joshtriplett has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
@rfcbot reviewed I don't know where we'll land on |
I'm fine with saying that we will still consider @rfcbot reviewed |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
I'm happy to say we're not going to immediately dismiss a proposal for That said, it absolutely needs to be considered. "You can do similar things with let chains" is absolutely something that I would expect to be in the Disadvantages section of a hypothetical RFC for And I could absolutely imagine a version of But under the interpretation of my first paragraph here, and knowing it's not a one-way door anyway, |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
In a recent lang design planning meeting, we discussed whether we considered
let
-chains (if let pat = expr && let pat2 = expr2
) andis
(if expr is pat && expr2 is pat2
) mutually exclusive, such that accepting one made us disinclined to consider the other.The consensus from the meeting was that we consider these features both potentially valuable, and that accepting one does not preclude us from considering the other on the sole basis of having more than one way to do something.
Filing this issue to record and confirm that consensus.
To be clear, this consensus would not mean* that we are committing to accept
is
, just that we don't think the two features are inherently mutually exclusive.The text was updated successfully, but these errors were encountered: