Fix type error in lint description
This commit is contained in:
parent
9c6cb5150f
commit
de8c404ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ declare_clippy_lint! {
|
|||
/// ### Example
|
||||
/// ```no_run
|
||||
/// let y: i8 = -1;
|
||||
/// y as u128; // will return 18446744073709551615
|
||||
/// y as u64; // will return 18446744073709551615
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
pub CAST_SIGN_LOSS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue