diff options
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index eba0943..9bbe39f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,8 +125,7 @@ fn work() -> Result<(), Error> { .collect::<Result<Vec<_>, Error>>()?; /* Sort the src/dst pairs so that the sources with the longest componenets - * come first. - */ + come first. */ src_dst.sort_by_key(|(s, _)| Reverse(s.components().count())); let dir = tempdir()?; |