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.
This commit is contained in:
bors 2024-03-21 19:26:17 +00:00
commit 443f459f98

View File

@ -3826,7 +3826,7 @@ declare_clippy_lint! {
declare_clippy_lint! { declare_clippy_lint! {
/// ### What it does /// ### What it does
/// Checks for usage of `.filter(Option::is_some)` that may be replaced with a `.flatten()` call. /// Checks for usage of `.filter(Option::is_some)` that may be replaced with a `.flatten()` call.
/// This lint will require additional changes to the follow-up calls as it appects the type. /// This lint will require additional changes to the follow-up calls as it affects the type.
/// ///
/// ### Why is this bad? /// ### Why is this bad?
/// This pattern is often followed by manual unwrapping of the `Option`. The simplification /// This pattern is often followed by manual unwrapping of the `Option`. The simplification
@ -3852,7 +3852,7 @@ declare_clippy_lint! {
declare_clippy_lint! { declare_clippy_lint! {
/// ### What it does /// ### What it does
/// Checks for usage of `.filter(Result::is_ok)` that may be replaced with a `.flatten()` call. /// Checks for usage of `.filter(Result::is_ok)` that may be replaced with a `.flatten()` call.
/// This lint will require additional changes to the follow-up calls as it appects the type. /// This lint will require additional changes to the follow-up calls as it affects the type.
/// ///
/// ### Why is this bad? /// ### Why is this bad?
/// This pattern is often followed by manual unwrapping of `Result`. The simplification /// This pattern is often followed by manual unwrapping of `Result`. The simplification