mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
clippy: unneeded 'return' statement
This commit is contained in:
@@ -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()),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user