]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #102283 - GuillaumeGomez:option-code-example-unwrap-or-default, r...
authorMichael Howell <michael@notriddle.com>
Mon, 26 Sep 2022 22:40:52 +0000 (15:40 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Sep 2022 22:40:52 +0000 (15:40 -0700)
commit2668a6839a15342dc40a20de610ece2c33ec06d6
treedf94ed03e7157a987412802296e24674a4f80612
parent8b705839cd656d202e920efa8769cbe43a5ee269
parent475aeab79e7d9b0fcdc4fef7bc13e98772d24a94
Rollup merge of #102283 - GuillaumeGomez:option-code-example-unwrap-or-default, r=thomcc

Improve code example for Option::unwrap_or_default

Fixes #100054.
Follow-up of #102259.

r? ``@thomcc``