Skip to content

Swap arg order for option::{may,maybe} #1280

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Dec 9, 2011
Merged

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Dec 9, 2011

This lets us write the block syntax sugar:

option::may(x) { |y| … }

This lets us write the block syntax sugar:

option::may(x) { |y| … }
@nikomatsakis nikomatsakis merged commit e3a066b into rust-lang:master Dec 9, 2011
bjorn3 added a commit to bjorn3/rust that referenced this pull request Jan 24, 2023
coastalwhite pushed a commit to coastalwhite/rust that referenced this pull request Aug 5, 2023
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
* Update cbmc-viewer version to sync with CI
Kobzol pushed a commit to Kobzol/rust that referenced this pull request Dec 30, 2024
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Jan 2, 2025
rust-bors bot pushed a commit that referenced this pull request Jun 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants