diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-14 10:31:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-14 10:31:04 +0100 |
| commit | a270aeee7f9148b2a1ede17d928bd9632ea362ba (patch) | |
| tree | 3c9fa9e846936d9bac491a51016652516a4861f2 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 309c469eece74cd9b83328d18302f1a177d0df7f (diff) | |
| parent | e0fd37dcf79c8624092ccd0e1463cd239074ec83 (diff) | |
| download | rust-a270aeee7f9148b2a1ede17d928bd9632ea362ba.tar.gz rust-a270aeee7f9148b2a1ede17d928bd9632ea362ba.zip | |
Rollup merge of #103644 - catlee:catlee/option-question-mark-docs, r=workingjubilee
Add docs for question mark operator for Option As a beginner learning rust, it took me a while to figure out what `?` was doing with Options. I think the documentation of this could be improved. I've used the question mark documentation from the `Result` type as a template here, and tried to come up with a simple example as well.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
