<!-- Thank you for finding a documentation problem! 📚 Documentation problems might be grammatical issues, typos, or unclear wording, please provide details regarding the documentation including where it is present. Note: If your issue is for one of these, please use their dedicated issue tracker instead: - The Rust Book: https://github.com/rust-lang/book/issues - Rust by Example: https://github.com/rust-lang/rust-by-example/issues - The Edition Guide: https://github.com/rust-lang/edition-guide/issues - The Cargo Book: https://github.com/rust-lang/cargo/issues - The Clippy Book: https://github.com/rust-lang/rust-clippy/issues - The Reference: https://github.com/rust-lang/reference/issues - The Rustonomicon: https://github.com/rust-lang/nomicon/issues - The Embedded Book: https://github.com/rust-embedded/book/issues All other documentation issues should be filed here. Or, if you find an issue related to rustdoc (e.g. doctest, rustdoc UI), please use the bug report or blank issue template instead. --> ### Location https://doc.rust-lang.org/std/option/enum.Option.html#method.unwrap_or_default ### Summary It appears that the example was wrongly adapted from Result::unwrap_or_default, however the example does not work here because parse will never return None, its returns a Result. It appears that ideally a more fitting example should be written. <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"gimbles"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->