about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-19 23:58:50 +0100
committerGitHub <noreply@github.com>2020-11-19 23:58:50 +0100
commit5adc00fbb8a40ecc685b26abfce0a4b619eb4c88 (patch)
tree7971001c1c4512ccaf2b2fbc01131135ac2d8ba4 /compiler/rustc_codegen_llvm/src
parent95da42559316b4b399750eaffb4cc708ea22c430 (diff)
parent53f969dfd1b5c128145c24653c668193e8c50f85 (diff)
downloadrust-5adc00fbb8a40ecc685b26abfce0a4b619eb4c88.tar.gz
rust-5adc00fbb8a40ecc685b26abfce0a4b619eb4c88.zip
Rollup merge of #79217 - yoshuawuyts:copy_from_slice-alias, r=Mark-Simulacrum
Add the "memcpy" doc alias to slice::copy_from_slice

[RFC1419](https://github.com/rust-lang/rfcs/pull/1419) describes `slice::copy_from_slice` as a "safe memcpy". This enables people searching for `memcpy` to find the `slice::copy_from_slice` method. Thanks!

## Screenshots

This is currently the output when searching for "memcpy" -- `copy_from_slice` is safe, and should be part of this list.

![Screenshot_2020-11-19 Results for memcpy - Rust](https://user-images.githubusercontent.com/2467194/99722964-c9e8fe80-2ab1-11eb-82a5-4afe703a0eea.png)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions