Skip to content

Commit c8e5352

Browse files
committed
Auto merge of #4318 - izik1:typo, r=phansch
Fix `for on` typo <!-- Thank you for making Clippy better! We're collecting our changelog from pull request descriptions. If your PR only updates to the latest nightly, you can leave the `changelog` entry as `none`. Otherwise, please write a short comment explaining your change. If your PR fixes an issue, you can add "fixes #issue_number" into this PR description. This way the issue will be automatically closed when your PR is merged. If you added a new lint, here's a checklist for things that will be checked during review or continuous integration. - [ ] Followed [lint naming conventions][lint_naming] - [ ] Added passing UI tests (including committed `.stderr` file) - [ ] `cargo test` passes locally - [ ] Executed `util/dev update_lints` - [ ] Added lint documentation - [ ] Run `cargo fmt` Note that you can skip the above if you are just opening a WIP PR in order to get feedback. Delete this line and everything above before opening your PR --> closes #4317 changelog: minor typo fix
2 parents 3087e91 + b8a50ca commit c8e5352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/types.rs

+2-2
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)