Main: Fix typo in comment

This commit is contained in:
networkException 2022-08-15 13:05:43 +02:00
parent 8f646713ef
commit a5b576108e
Signed by: networkException
GPG key ID: E3877443AE684391
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
BSD 2-Clause License BSD 2-Clause License
Copyright (c) 2022, networkException Copyright (c) 2022, networkException <git@nwex.de>
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

View file

@ -81,7 +81,7 @@ fn run() -> Result<()> {
pool.install(|| { pool.install(|| {
return hashed_files.par_iter().progress_with(progress_bar).try_for_each(|path| -> Result<()> { 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 hasher = Sha256::new();
let mut file = File::open(path)?; let mut file = File::open(path)?;