mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-21 08:12:29 +00:00
Avoid some manual slice length calculation No need for us to write the multiplication when `size_of_val` does exactly what we need. (https://github.com/rust-lang/rust-clippy/pull/10601)