aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-07-29 01:13:52 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-07-29 01:13:52 +0200
commit218e1842c001822d0a70377bff6731d4a532f598 (patch)
tree9a60da2774f0a5fb3227a7eec2490dc9aa9ba5b8 /src
parentd41c7ffad0fb86871eed657e139e732e5c483df0 (diff)
Minor comment reformat
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
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()?;