Skip to content

Commit

Permalink
Fix minor formatting problem
Browse files Browse the repository at this point in the history
  • Loading branch information
waynr committed Nov 27, 2018
1 parent 0c49d93 commit a7c6f0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ declare_clippy_lint! {
///
/// let correct: Vec<String> = ws.iter()
/// .filter_map(|s| if s.contains("izzle"){
/// Some(s)
/// Some(s)
/// } else {
/// None
/// })
Expand All @@ -322,7 +322,7 @@ declare_clippy_lint! {
///
/// let more_correct: Vec<String> = ws.iter()
/// .filter_map(|s| if s.contains("izzle"){
/// Some(format!("{}{}", s, s))
/// Some(format!("{}{}", s, s))
/// } else {
/// None
/// })
Expand Down

0 comments on commit a7c6f0b

Please sign in to comment.