Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0ff7fad

Browse files
Use code for references to other lints in as_conversions docs (rust-lang#14283)
changelog: none
2 parents 9c6cb51 + 517766c commit 0ff7fad

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

clippy_lints/src/as_conversions.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ declare_clippy_lint! {
1212
/// regardless of whether good alternatives exist or not. If you want more
1313
/// precise lints for `as`, please consider using these separate lints:
1414
///
15-
/// - clippy::cast_lossless
16-
/// - clippy::cast_possible_truncation
17-
/// - clippy::cast_possible_wrap
18-
/// - clippy::cast_precision_loss
19-
/// - clippy::cast_sign_loss
20-
/// - clippy::char_lit_as_u8
21-
/// - clippy::fn_to_numeric_cast
22-
/// - clippy::fn_to_numeric_cast_with_truncation
23-
/// - clippy::ptr_as_ptr
24-
/// - clippy::unnecessary_cast
25-
/// - invalid_reference_casting
15+
/// - `clippy::cast_lossless`
16+
/// - `clippy::cast_possible_truncation`
17+
/// - `clippy::cast_possible_wrap`
18+
/// - `clippy::cast_precision_loss`
19+
/// - `clippy::cast_sign_loss`
20+
/// - `clippy::char_lit_as_u8`
21+
/// - `clippy::fn_to_numeric_cast`
22+
/// - `clippy::fn_to_numeric_cast_with_truncation`
23+
/// - `clippy::ptr_as_ptr`
24+
/// - `clippy::unnecessary_cast`
25+
/// - `invalid_reference_casting`
2626
///
2727
/// There is a good explanation the reason why this lint should work in this
2828
/// way and how it is useful [in this

0 commit comments

Comments
 (0)