Skip to content

Commit 0462819

Browse files
committed
fix lint
1 parent ea532ab commit 0462819

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,7 @@ declare_clippy_lint! {
38703870
/// # let result: Result<usize, ()> = Ok(1);
38713871
/// option.map(|a| a > 10).unwrap_or_default();
38723872
/// result.map(|a| a > 10).unwrap_or_default();
3873-
///
3873+
///
38743874
/// option.map(|a| a > 10) == Some(true);
38753875
/// result.map(|a| a > 10) == Ok(true);
38763876
/// option.map(|a| a > 10) != Some(true);
@@ -3882,7 +3882,7 @@ declare_clippy_lint! {
38823882
/// # let result: Result<usize, ()> = Ok(1);
38833883
/// option.is_some_and(|a| a > 10);
38843884
/// result.is_ok_and(|a| a > 10);
3885-
///
3885+
///
38863886
/// option.is_some_and(|a| a > 10);
38873887
/// result.is_ok_and(|a| a > 10);
38883888
/// option.is_none_or(|a| a > 10);

0 commit comments

Comments
 (0)