diff options
| author | Dinu Blanovschi <git@dnbln.dev> | 2025-02-23 14:18:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-23 14:18:52 +0100 |
| commit | 517766c9740d54ac0778bc78225edb63647dc0e1 (patch) | |
| tree | f0cb43ad345ed992d494c33ab1cd5254ecb1b8a8 | |
| parent | d92da0fb322e833e481a4c50f0f73b7b27829546 (diff) | |
| download | rust-517766c9740d54ac0778bc78225edb63647dc0e1.tar.gz rust-517766c9740d54ac0778bc78225edb63647dc0e1.zip | |
Update as_conversions.rs
| -rw-r--r-- | clippy_lints/src/as_conversions.rs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/clippy_lints/src/as_conversions.rs b/clippy_lints/src/as_conversions.rs index 78102772927..27e304a848e 100644 --- a/clippy_lints/src/as_conversions.rs +++ b/clippy_lints/src/as_conversions.rs @@ -12,17 +12,17 @@ declare_clippy_lint! { /// regardless of whether good alternatives exist or not. If you want more /// precise lints for `as`, please consider using these separate lints: /// - /// - clippy::cast_lossless - /// - clippy::cast_possible_truncation - /// - clippy::cast_possible_wrap - /// - clippy::cast_precision_loss - /// - clippy::cast_sign_loss - /// - clippy::char_lit_as_u8 - /// - clippy::fn_to_numeric_cast - /// - clippy::fn_to_numeric_cast_with_truncation - /// - clippy::ptr_as_ptr - /// - clippy::unnecessary_cast - /// - invalid_reference_casting + /// - `clippy::cast_lossless` + /// - `clippy::cast_possible_truncation` + /// - `clippy::cast_possible_wrap` + /// - `clippy::cast_precision_loss` + /// - `clippy::cast_sign_loss` + /// - `clippy::char_lit_as_u8` + /// - `clippy::fn_to_numeric_cast` + /// - `clippy::fn_to_numeric_cast_with_truncation` + /// - `clippy::ptr_as_ptr` + /// - `clippy::unnecessary_cast` + /// - `invalid_reference_casting` /// /// There is a good explanation the reason why this lint should work in this /// way and how it is useful [in this |
