mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
dcee00d64b
`len_without_is_empty` improvements fixes: #6958 fixes: #6972 changelog: Check the return type of `len`. Only integral types, or an `Option` or `Result` wrapping one. changelog: Ensure the return type of `is_empty` matches. e.g. `Option<usize>` -> `Option<bool>`