Fix for on typo

This commit is contained in:
Zachery Gyurkovitz 2019-07-31 22:24:57 -07:00 committed by GitHub
parent d1b4fc9853
commit b8a50cae4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -690,7 +690,7 @@ declare_clippy_lint! {
} }
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 /// truncate large values. This is expected behavior, so the cast is `Allow` by
/// default. /// default.
/// ///
@ -735,7 +735,7 @@ declare_clippy_lint! {
} }
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. /// be replaced by safe conversion functions.
/// ///
/// **Why is this bad?** Rust's `as` keyword will perform many kinds of /// **Why is this bad?** Rust's `as` keyword will perform many kinds of