about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-17 19:27:05 +0200
committerGitHub <noreply@github.com>2022-09-17 19:27:05 +0200
commit00d88bdb2c59c4d40add0aa36ba1013d06afd32f (patch)
treebafe288b41347b881e2cf8e607135d61a586a1f3 /compiler/rustc_codegen_llvm/src/errors.rs
parent48de123d7a0753026c362a06109f9a9cebde2a2a (diff)
parent705a7667c5e14c7155145041ca2abe45c2863ea7 (diff)
downloadrust-00d88bdb2c59c4d40add0aa36ba1013d06afd32f.tar.gz
rust-00d88bdb2c59c4d40add0aa36ba1013d06afd32f.zip
Rollup merge of #101672 - idigdoug:array_try_into, r=Mark-Simulacrum
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