-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Suggest using map_or
when Option<&T>::unwrap_or where T: Deref
fails
#127629
Conversation
r? @wesleywiser rustbot has assigned @wesleywiser. Use |
☔ The latest upstream changes (presumably #127635) made this pull request unmergeable. Please resolve the merge conflicts. |
b5ee095
to
be13cc5
Compare
This comment has been minimized.
This comment has been minimized.
be13cc5
to
5e1cabe
Compare
r? @estebank |
3d85271
to
9e35b9a
Compare
@rustbot label -S-waiting-on-author |
CO-AUTHORED-BY: Esteban Küber <[email protected]>
9e35b9a
to
bdc9df2
Compare
@bors r+ |
…r, r=estebank Suggest using `map_or` when `Option<&T>::unwrap_or where T: Deref` fails Fix rust-lang#127545 Split from rust-lang#127596 (review)
…r, r=estebank Suggest using `map_or` when `Option<&T>::unwrap_or where T: Deref` fails Fix rust-lang#127545 Split from rust-lang#127596 (review)
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#120990 (Suggest a borrow when using dbg) - rust-lang#127047 (fix least significant digits of f128 associated constants) - rust-lang#127629 (Suggest using `map_or` when `Option<&T>::unwrap_or where T: Deref` fails) - rust-lang#127770 (Update books) - rust-lang#127780 (Make sure trait def ids match before zipping args in `note_function_argument_obligation`) r? `@ghost` `@rustbot` modify labels: rollup
☀️ Test successful - checks-actions |
Finished benchmarking commit (cae4a84): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary 0.2%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 700.249s -> 700.582s (0.05%) |
Fix #127545
Split from #127596 (review)