about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-25 02:29:39 +0200
committerGitHub <noreply@github.com>2020-09-25 02:29:39 +0200
commit09b0bd6022d1e029e5745ed588af311056437c17 (patch)
tree5c58e2428620129725ced006c624c11deb898960 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent862faea4bea9ff45563aaefca2a5d6047242c75f (diff)
parent5b3016134fef93d9bed343bb15da837acf50b635 (diff)
downloadrust-09b0bd6022d1e029e5745ed588af311056437c17.tar.gz
rust-09b0bd6022d1e029e5745ed588af311056437c17.zip
Rollup merge of #77074 - lcnr:array-from-ref, r=SimonSapin
add array::from_ref

mirrors the methods in `std::slice` with the same name.

I guess this method previously didn't exist as there was close to no reason to create an array of size `1`.
This will change due to const generics in the near future.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions