about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZachery Gyurkovitz <zgyurkovitz@gmail.com>2019-07-31 22:24:57 -0700
committerGitHub <noreply@github.com>2019-07-31 22:24:57 -0700
commitb8a50cae4c6ce7eaac4c0844336522477d3416bf (patch)
tree7a35b3662dfd6532276edad0597ad6eca07b5303
parentd1b4fc9853d80b3953dd5f2bae9d5d70ef7665ab (diff)
downloadrust-b8a50cae4c6ce7eaac4c0844336522477d3416bf.tar.gz
rust-b8a50cae4c6ce7eaac4c0844336522477d3416bf.zip
Fix `for on` typo
-rw-r--r--clippy_lints/src/types.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs
index 31d4c36585f..e4568830991 100644
--- a/clippy_lints/src/types.rs
+++ b/clippy_lints/src/types.rs
@@ -690,7 +690,7 @@ declare_clippy_lint! {
 }
 
 declare_clippy_lint! {
-    /// **What it does:** Checks for on casts between numerical types that may
+    /// **What it does:** Checks for casts between numerical types that may
     /// truncate large values. This is expected behavior, so the cast is `Allow` by
     /// default.
     ///
@@ -735,7 +735,7 @@ declare_clippy_lint! {
 }
 
 declare_clippy_lint! {
-    /// **What it does:** Checks for on casts between numerical types that may
+    /// **What it does:** Checks for casts between numerical types that may
     /// be replaced by safe conversion functions.
     ///
     /// **Why is this bad?** Rust's `as` keyword will perform many kinds of