Skip to content

Commit f5d81a3

Browse files
authored
Fix type error in lint description (#14466)
Fix #14465 changelog: none
2 parents d88818d + de8c404 commit f5d81a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: clippy_lints/src/casts/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ declare_clippy_lint! {
7171
/// ### Example
7272
/// ```no_run
7373
/// let y: i8 = -1;
74-
/// y as u128; // will return 18446744073709551615
74+
/// y as u64; // will return 18446744073709551615
7575
/// ```
7676
#[clippy::version = "pre 1.29.0"]
7777
pub CAST_SIGN_LOSS,

0 commit comments

Comments
 (0)