Skip to content

option::chain, result::chain, etc. Should take arguments by value #3590

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

Closed
brson opened this issue Sep 25, 2012 · 1 comment
Closed

option::chain, result::chain, etc. Should take arguments by value #3590

brson opened this issue Sep 25, 2012 · 1 comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Sep 25, 2012

These are for folding and refining results, where it is usually desirable to consume the previous value.

@brson
Copy link
Contributor Author

brson commented Sep 25, 2012

Once they take args by value they should also use move match

@ghost ghost assigned catamorphism Oct 11, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this issue May 11, 2024
make MIRI_TEST_TARGET and RUSTC_BLESS entirely an internal thing

They are just used to communicate between `./miri test`/`./x.py test miri` and the test harness, but should not be used by users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants