diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/lib.rs | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,6 @@ [package] name = "ddh" -version = "0.10.5" +version = "0.10.6" authors = ["Jon Moroney <jmoroney@hawaii.edu>"] edition = "2018" description = "Compare and contrast directories" @@ -253,8 +253,7 @@ fn differentiate_and_consolidate(file_length: u64, mut files: Vec<Fileinfo>) -> }); if file_length<=4096{ files.par_iter_mut().for_each(|x|{ - let hash = x.get_partial_hash().unwrap(); - x.set_full_hash(Some(hash)) ; + x.set_full_hash(x.get_partial_hash()) ; }); return dedupe(files) } |