Skip to content

Commit de8c404

Browse files
committed
Fix type error in lint description
1 parent 9c6cb51 commit de8c404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)