Skip to content

core: adding option::or(a,b) that returns the leftmost some() or none otherwise #3236

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

Merged
merged 1 commit into from
Aug 21, 2012

Conversation

dbp
Copy link
Contributor

@dbp dbp commented Aug 21, 2012

This is a little utility function for option that is helpful when you are dealing with many options.

graydon added a commit that referenced this pull request Aug 21, 2012
core: adding option::or(a,b) that returns the leftmost some() or none otherwise
@graydon graydon merged commit c2ddf7c into rust-lang:incoming Aug 21, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 15, 2021
jaisnan pushed a commit to jaisnan/rust-dev that referenced this pull request Jul 29, 2024
In rust-lang#3226, we added a new command that allow Kani to verify properties in
a custom standard library. In this PR, we create a script test that
create a modified version of the standard library and runs Kani against
it.

I also moved the script based tests to run after the more generic
regression jobs. I think the script jobs are a bit harder to debug, they
may take longer, and they are usually very specific to a few features.
So probably best if we run the more generic tests first.
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