about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorKevin Reid <kpreid@google.com>2021-09-04 11:05:36 -0700
committerKevin Reid <kpreid@google.com>2021-09-04 11:29:55 -0700
commit34c1fce50be88eb4a0b81eb486b47e1f929b1ce3 (patch)
tree5f31a91641ae25d5dbf11c61cf8635887b711d34 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent226e181b80fa0be755872b66916ef7e704601ec2 (diff)
downloadrust-34c1fce50be88eb4a0b81eb486b47e1f929b1ce3.tar.gz
rust-34c1fce50be88eb4a0b81eb486b47e1f929b1ce3.zip
“Moves” instead of “copies” in `<Option<T> as From<T>>::from` doc.
This implementation has no `Copy` or `Clone` bound, so its operation is
guaranteed to be a move. The call site might copy, but the function
itself cannot.

Also linkify `Some` while we're touching the line anyway.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions