about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-09 19:21:17 +0100
committerGitHub <noreply@github.com>2024-02-09 19:21:17 +0100
commit40f998d7e92ddd4efb2414c45d0632eabe2351df (patch)
tree032baa18abdc88e71802f6d369cd48b2bfd13f6f /compiler/rustc_codegen_llvm/src
parent5250abaeb84df7407bf9a2d887cbd30e1b2f96d0 (diff)
parente9059cb8aaad3515e174ffa72783e36e34b95dd1 (diff)
downloadrust-40f998d7e92ddd4efb2414c45d0632eabe2351df.tar.gz
rust-40f998d7e92ddd4efb2414c45d0632eabe2351df.zip
Rollup merge of #120815 - camsteffen:inspect-docs, r=m-ou-se
Improve `Option::inspect` docs

* Refer to the function as "a function" instead of "the provided closure" since it is not necessarily a closure.
* State that the original Option/Result is returned.
* Adjust the example for `Option::inspect` to use chaining.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions