about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-12-23 23:09:00 +0100
committerGitHub <noreply@github.com>2018-12-23 23:09:00 +0100
commit90a35861dd3f5bdf2b023c24c6dc45bb88485996 (patch)
tree8b83b7aea92c446d0d34eef2870a23c1cc76fa09 /src/libsyntax/parse
parent4c971620e4bfa32df3e9da02772a2a1c68be004f (diff)
parent2c0f011ca28dbe2941369315bd78a1dbbb7f950e (diff)
downloadrust-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/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions