mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
c5218d509b
Hey folks. It's been a while since I added the `as_slice` method to `Option`, and I totally forgot about a lint to suggest it. Well, I had some time around Christmas, so here it is now. --- changelog: add [`manual_option_as_slice`] lint