about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2023-01-14 12:04:31 +0900
committerGitHub <noreply@github.com>2023-01-14 12:04:31 +0900
commit6702f20ca7a117e249d31c96f2c5f48f1bb4eaaa (patch)
tree6fc8607df8bd4dca89260ec9a914008411db75be /tests/rustdoc-js-std/parser-errors.js
parenta11eb4f267ddfe4f00cb40bf94aef508c11e0862 (diff)
parent123e2038d4cd6b29ff3d30cf766e94b67efcb637 (diff)
downloadrust-6702f20ca7a117e249d31c96f2c5f48f1bb4eaaa.tar.gz
rust-6702f20ca7a117e249d31c96f2c5f48f1bb4eaaa.zip
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
reword Option::as_ref and Option::map examples

The description for the examples of `Option::as_ref` and `Option::map` imply that the example is only doing type conversion, when it is actually finding the length of a string.

Changes the wording to imply that some operation is being run on the value contained in the `Option`

closes #104476
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions