about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-03-25 12:25:57 +0000
committerGitHub <noreply@github.com>2025-03-25 12:25:57 +0000
commitf5d81a314a5765be237f716dca2b0ea42f460095 (patch)
tree742cdadad5f1a306a4a7c0a1598afdb8d6714751
parentd88818d1e752f9d2f20d491c8f0e026f8262f3c4 (diff)
parentde8c404ed49e16588d6932b3367b6dd0ef1556a1 (diff)
downloadrust-f5d81a314a5765be237f716dca2b0ea42f460095.tar.gz
rust-f5d81a314a5765be237f716dca2b0ea42f460095.zip
Fix type error in lint description (#14466)
Fix #14465

changelog: none
-rw-r--r--clippy_lints/src/casts/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/casts/mod.rs b/clippy_lints/src/casts/mod.rs
index dc2a1fa85bf..4e7641c7d3b 100644
--- a/clippy_lints/src/casts/mod.rs
+++ b/clippy_lints/src/casts/mod.rs
@@ -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,