Skip to content

Commit

Permalink
clippy: unneeded 'return' statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Nov 28, 2024
1 parent eb7c567 commit 7993b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/by-util/test_ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,10 +1329,10 @@ fn test_ls_long_symlink_color() {
Some(captures) => {
dbg!(captures.get(1).unwrap().as_str().to_string());
dbg!(captures.get(2).unwrap().as_str().to_string());
return (
(
captures.get(1).unwrap().as_str().to_string(),
captures.get(2).unwrap().as_str().to_string(),
);
)
}
None => (String::new(), input.to_string()),
}
Expand Down

0 comments on commit 7993b0f

Please sign in to comment.