about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2021-03-26 16:27:19 -0400
committerJason Newcomb <jsnewcomb@pm.me>2021-03-27 09:04:44 -0400
commit12985afbcad28eb67c0b5c5903ff21b6fa922b13 (patch)
treef78fc3aa7f8934da381552584054a55114fc9ded /src/test/codegen/src-hash-algorithm
parentf41d68faa6ecaf8756ee72d329e4ba50aaac525d (diff)
downloadrust-12985afbcad28eb67c0b5c5903ff21b6fa922b13.tar.gz
rust-12985afbcad28eb67c0b5c5903ff21b6fa922b13.zip
`len_without_is_empty` improvements
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>`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions