mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
clippy: unneeded 'return' statement
This commit is contained in:
parent
a3a4457a44
commit
c0840dd43f
1 changed files with 2 additions and 2 deletions
|
@ -1329,10 +1329,10 @@ fn test_ls_long_symlink_color() {
|
||||||
Some(captures) => {
|
Some(captures) => {
|
||||||
dbg!(captures.get(1).unwrap().as_str().to_string());
|
dbg!(captures.get(1).unwrap().as_str().to_string());
|
||||||
dbg!(captures.get(2).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(1).unwrap().as_str().to_string(),
|
||||||
captures.get(2).unwrap().as_str().to_string(),
|
captures.get(2).unwrap().as_str().to_string(),
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
None => (String::new(), input.to_string()),
|
None => (String::new(), input.to_string()),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue