Skip to content

Commit a7c6f0b

Browse files
committed
Fix minor formatting problem
1 parent 0c49d93 commit a7c6f0b

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
@@ -313,7 +313,7 @@ declare_clippy_lint! {
313313
///
314314
/// let correct: Vec<String> = ws.iter()
315315
/// .filter_map(|s| if s.contains("izzle"){
316-
/// Some(s)
316+
/// Some(s)
317317
/// } else {
318318
/// None
319319
/// })
@@ -322,7 +322,7 @@ declare_clippy_lint! {
322322
///
323323
/// let more_correct: Vec<String> = ws.iter()
324324
/// .filter_map(|s| if s.contains("izzle"){
325-
/// Some(format!("{}{}", s, s))
325+
/// Some(format!("{}{}", s, s))
326326
/// } else {
327327
/// None
328328
/// })

0 commit comments

Comments
 (0)