mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
f0119130de
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