about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-06-02 12:41:09 +0000
committerGitHub <noreply@github.com>2025-06-02 12:41:09 +0000
commit6fa2866a96f6c192fc0b21041adaa01779d29598 (patch)
treefe00327c5888de81d324d19dae6a020acf9096a5 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentd7b27ecbf319446dd9563a433e9694fa3bcd0d8c (diff)
parent225abd6c0a8e20b65d02a3c83bf07936abdac613 (diff)
downloadrust-6fa2866a96f6c192fc0b21041adaa01779d29598.tar.gz
rust-6fa2866a96f6c192fc0b21041adaa01779d29598.zip
Use `None::<u64>` instead of `0` to denote an absence of value (#14957)
`clippy_lints::casts::utils::int_ty_to_nbits` used to return `0` to
indicate that the argument was not an integral type. It is more
idiomatic to use `Option<u64>` as a return type.

Also, I've added a few `FIXME:` at places where only `f32` and `f64` are
considered, as we now have `f16` and `f128` to deal with.

changelog: none
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions