Main: Fix typo in comment
This commit is contained in:
parent
8408a0bafa
commit
2fe3f476a9
|
@ -81,7 +81,7 @@ fn run() -> Result<()> {
|
|||
|
||||
pool.install(|| {
|
||||
return hashed_files.par_iter().progress_with(progress_bar).try_for_each(|path| -> Result<()> {
|
||||
// Just opening the file and hashing using io::copy is roughly ~2.5x fater compared to sha256::digest_file
|
||||
// Just opening the file and hashing using io::copy is roughly ~2.5x faster compared to sha256::digest_file
|
||||
let mut hasher = Sha256::new();
|
||||
let mut file = File::open(path)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue