From b8a50cae4c6ce7eaac4c0844336522477d3416bf Mon Sep 17 00:00:00 2001 From: Zachery Gyurkovitz Date: Wed, 31 Jul 2019 22:24:57 -0700 Subject: [PATCH] Fix `for on` typo --- clippy_lints/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 31d4c36585f3..e45688309912 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