diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-06-02 12:56:05 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-06-02 13:32:30 +0200 |
| commit | 225abd6c0a8e20b65d02a3c83bf07936abdac613 (patch) | |
| tree | 963a09e04878f2bd0818bafbb580921fb71f858b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 88bb8d169bc2c9b688bb2e9adf98f9cb72b08057 (diff) | |
| download | rust-225abd6c0a8e20b65d02a3c83bf07936abdac613.tar.gz rust-225abd6c0a8e20b65d02a3c83bf07936abdac613.zip | |
Use `None::<u64>` instead of `0` to denote an absence of value
`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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
