about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorDoug Cook (WINDOWS) <dcook@windows.microsoft.com>2022-09-10 19:37:07 -0700
committerDoug Cook (WINDOWS) <dcook@windows.microsoft.com>2022-09-10 19:37:07 -0700
commit705a7667c5e14c7155145041ca2abe45c2863ea7 (patch)
treefb32f2f482a1a7f878f48891f57c6a6cd12bcad1 /compiler/rustc_codegen_llvm/src/errors.rs
parent4a6ac3c225d6322caaf0ef86623cddc74e5260c6 (diff)
downloadrust-705a7667c5e14c7155145041ca2abe45c2863ea7.tar.gz
rust-705a7667c5e14c7155145041ca2abe45c2863ea7.zip
array docs - advertise how to get array from slice
On my first Rust project, I spent more time than I care to admit
figuring out how to efficiently get an array from a slice. Update the
array documentation to explain this a bit more clearly.

(As a side note, it's a bit unfortunate that get-array-from-slice is
only available via trait since that means it can't be used from const
functions yet.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions