diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2021-09-08 12:24:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-08 12:24:18 -0400 |
| commit | 2bbcf929c6cce88ae4b5be95dcf8d1e6aa25e7cf (patch) | |
| tree | ffccfd82da1385d30907e773a02e485429de93a1 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | b1c782f20b99bddf4244d0228fff401e1215f4df (diff) | |
| parent | 9a3a2a1c3784905eee405becdbd2e5c7ebd5dbce (diff) | |
| download | rust-2bbcf929c6cce88ae4b5be95dcf8d1e6aa25e7cf.tar.gz rust-2bbcf929c6cce88ae4b5be95dcf8d1e6aa25e7cf.zip | |
Rollup merge of #88648 - kpreid:option, r=Mark-Simulacrum
Correct “copies” to “moves” in `<Option<T> as From<T>>::from` doc, and other copyediting The `impl<T> From<T> for Option<T>` 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. Since that would have been a rather small PR, I also reviewed the other documentation in the file and made other improvements (in separate commits): adding periods and commas, linking `Deref::Target`, and clarifying what "a container" is in `FromIterator`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
