diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-23 23:09:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-23 23:09:00 +0100 |
| commit | 90a35861dd3f5bdf2b023c24c6dc45bb88485996 (patch) | |
| tree | 8b83b7aea92c446d0d34eef2870a23c1cc76fa09 /src/liballoc | |
| parent | 4c971620e4bfa32df3e9da02772a2a1c68be004f (diff) | |
| parent | 2c0f011ca28dbe2941369315bd78a1dbbb7f950e (diff) | |
| download | rust-90a35861dd3f5bdf2b023c24c6dc45bb88485996.tar.gz rust-90a35861dd3f5bdf2b023c24c6dc45bb88485996.zip | |
Rollup merge of #56342 - killercup:collect-into-option-docs, r=bluss
Improve docs for collecting into `Option`s Changes the original example to use more idiomatic formatting as well as `.checked_add`. Also adds a second example to show a case where the `.collect` returns `None`.
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions
