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