1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

clippy: unneeded 'return' statement

This commit is contained in:
Sylvestre Ledru 2024-11-28 21:29:23 +01:00
parent a3a4457a44
commit c0840dd43f

View file

@ -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()),
}