diff options
| author | llogiq <bogusandre@gmail.com> | 2025-06-02 12:41:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 12:41:09 +0000 |
| commit | 6fa2866a96f6c192fc0b21041adaa01779d29598 (patch) | |
| tree | fe00327c5888de81d324d19dae6a020acf9096a5 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | d7b27ecbf319446dd9563a433e9694fa3bcd0d8c (diff) | |
| parent | 225abd6c0a8e20b65d02a3c83bf07936abdac613 (diff) | |
| download | rust-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-md5.rs')
0 files changed, 0 insertions, 0 deletions
