Skip to content

Commit b8a50ca

Browse files
author
Zachery Gyurkovitz
authored
Fix for on typo
1 parent d1b4fc9 commit b8a50ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ declare_clippy_lint! {
690690
}
691691

692692
declare_clippy_lint! {
693-
/// **What it does:** Checks for on casts between numerical types that may
693+
/// **What it does:** Checks for casts between numerical types that may
694694
/// truncate large values. This is expected behavior, so the cast is `Allow` by
695695
/// default.
696696
///
@@ -735,7 +735,7 @@ declare_clippy_lint! {
735735
}
736736

737737
declare_clippy_lint! {
738-
/// **What it does:** Checks for on casts between numerical types that may
738+
/// **What it does:** Checks for casts between numerical types that may
739739
/// be replaced by safe conversion functions.
740740
///
741741
/// **Why is this bad?** Rust's `as` keyword will perform many kinds of

0 commit comments

Comments
 (0)