-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Improve code example for Option::unwrap_or_default #102283
Improve code example for Option::unwrap_or_default #102283
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
LGTM, thanks. @bors r+ rollup |
📌 Commit 816a9a9ed96c665d01d74357da2e4058297ed50b has been approved by It is now in the queue for this repository. |
Within the |
This comment has been minimized.
This comment has been minimized.
816a9a9
to
475aeab
Compare
I removed the text too now (and also fixed the assert which I badly wrote previously by using |
@bors r+ rollup |
…-unwrap-or-default, r=thomcc Improve code example for Option::unwrap_or_default Fixes rust-lang#100054. Follow-up of rust-lang#102259. r? `@thomcc`
…-unwrap-or-default, r=thomcc Improve code example for Option::unwrap_or_default Fixes rust-lang#100054. Follow-up of rust-lang#102259. r? ``@thomcc``
☀️ Test successful - checks-actions |
Rollup of 6 pull requests Successful merges: - rust-lang#102283 (Improve code example for Option::unwrap_or_default) - rust-lang#102319 (rustdoc: merge CSS `table` rules into `.docblock`) - rust-lang#102321 ( Rustdoc-Json: List impls for primitives) - rust-lang#102322 (Document that Display automatically implements ToString) - rust-lang#102325 (rustdoc: give `.line-number` / `.line-numbers` meaningful names) - rust-lang#102326 (rustdoc: Update doc comment for splitn_mut to include mutable in the …) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Finished benchmarking commit (f3a6fbf): 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)ResultsThis 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.
CyclesResultsThis 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.
Footnotes |
Fixes #100054.
Follow-up of #102259.
r? @thomcc