diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 993e490..b9df0a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -127,7 +127,10 @@ where let embeds: Vec<_> = embeds.into_iter().map(|e| e.unwrap()).collect(); let (tsp_path, total_dist) = tsp(&embeds); - Ok((tsp_path.iter().map(|i| args.images[*i].clone()).collect(), total_dist)) + Ok(( + tsp_path.iter().map(|i| args.images[*i].clone()).collect(), + total_dist, + )) } fn copy_into(tsp: &[PathBuf], target: &PathBuf, use_symlinks: bool) -> Result<()> { |