Skip to content

Commit 580f642

Browse files
committed
Auto merge of #9230 - RalfJung:fix-doc-lint-names, r=Alexendoo
fix outdated lint names in docs *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: fix outdated lint names in "as_conversions" documentation
2 parents 75dcbd5 + a738955 commit 580f642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/as_conversions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare_clippy_lint! {
1111
/// Note that this lint is specialized in linting *every single* use of `as`
1212
/// regardless of whether good alternatives exist or not.
1313
/// If you want more precise lints for `as`, please consider using these separate lints:
14-
/// `unnecessary_cast`, `cast_lossless/possible_truncation/possible_wrap/precision_loss/sign_loss`,
14+
/// `unnecessary_cast`, `cast_lossless/cast_possible_truncation/cast_possible_wrap/cast_precision_loss/cast_sign_loss`,
1515
/// `fn_to_numeric_cast(_with_truncation)`, `char_lit_as_u8`, `ref_to_mut` and `ptr_as_ptr`.
1616
/// There is a good explanation the reason why this lint should work in this way and how it is useful
1717
/// [in this issue](https://github.com/rust-lang/rust-clippy/issues/5122).

0 commit comments

Comments
 (0)