about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-07-13 00:24:36 -0400
committerGitHub <noreply@github.com>2024-07-13 00:24:36 -0400
commitf0119130de98508999a14e236b07c663e3bf84e5 (patch)
tree4c95a6e33afa2162a617cf2dd88bbeabf5bb1f6c /compiler/rustc_llvm/llvm-wrapper
parent68ec9c1992c8c72c2c1ec4c8903d364192aa7141 (diff)
parent163d98b2eaf8010b725ec198ad862e682025bcea (diff)
downloadrust-f0119130de98508999a14e236b07c663e3bf84e5.tar.gz
rust-f0119130de98508999a14e236b07c663e3bf84e5.zip
Rollup merge of #127668 - spencer3035:improve-slice-doc, r=jhpratt
Improved slice documentation

Improve slice documentation to include assert_eq checks for all the cases where there were existing examples. I think it makes things more clear when the documentation explicitly checks against values and shows the reader what it does.

I also started a rust internals discussion about it here: https://internals.rust-lang.org/t/improve-slice-documentaion/21168
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions