Skip to content

Commit 443f459

Browse files
committed
Auto merge of #12523 - Rua:typo-fix, r=dswij
Fix documentation typo "appects" > "affects" changelog: none This fixes a typo in the `iter_filter_is_some` and `iter_filter_is_ok` lint documentation.
2 parents 32799a5 + 238cd36 commit 443f459

File tree

1 file changed

+2
-2
lines changed
  • clippy_lints/src/methods

1 file changed

+2
-2
lines changed

clippy_lints/src/methods/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3826,7 +3826,7 @@ declare_clippy_lint! {
38263826
declare_clippy_lint! {
38273827
/// ### What it does
38283828
/// Checks for usage of `.filter(Option::is_some)` that may be replaced with a `.flatten()` call.
3829-
/// This lint will require additional changes to the follow-up calls as it appects the type.
3829+
/// This lint will require additional changes to the follow-up calls as it affects the type.
38303830
///
38313831
/// ### Why is this bad?
38323832
/// This pattern is often followed by manual unwrapping of the `Option`. The simplification
@@ -3852,7 +3852,7 @@ declare_clippy_lint! {
38523852
declare_clippy_lint! {
38533853
/// ### What it does
38543854
/// Checks for usage of `.filter(Result::is_ok)` that may be replaced with a `.flatten()` call.
3855-
/// This lint will require additional changes to the follow-up calls as it appects the type.
3855+
/// This lint will require additional changes to the follow-up calls as it affects the type.
38563856
///
38573857
/// ### Why is this bad?
38583858
/// This pattern is often followed by manual unwrapping of `Result`. The simplification

0 commit comments

Comments
 (0)