We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea532ab commit 0462819Copy full SHA for 0462819
clippy_lints/src/methods/mod.rs
@@ -3870,7 +3870,7 @@ declare_clippy_lint! {
3870
/// # let result: Result<usize, ()> = Ok(1);
3871
/// option.map(|a| a > 10).unwrap_or_default();
3872
/// result.map(|a| a > 10).unwrap_or_default();
3873
- ///
+ ///
3874
/// option.map(|a| a > 10) == Some(true);
3875
/// result.map(|a| a > 10) == Ok(true);
3876
/// option.map(|a| a > 10) != Some(true);
@@ -3882,7 +3882,7 @@ declare_clippy_lint! {
3882
3883
/// option.is_some_and(|a| a > 10);
3884
/// result.is_ok_and(|a| a > 10);
3885
3886
3887
3888
/// option.is_none_or(|a| a > 10);
0 commit comments