mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Fix for on
typo
This commit is contained in:
parent
d1b4fc9853
commit
b8a50cae4c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue