diff options
author | Lars Wirzenius <liw@sequoia-pgp.org> | 2022-04-10 11:25:32 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@sequoia-pgp.org> | 2022-04-10 11:25:32 +0300 |
commit | 8794b6ba145e53113012b9102bed999957976a6a (patch) | |
tree | 2f5b6504f7ccf3db6f30a29c35c5e526fe50d6b4 | |
parent | 4f16e3e23b8e1ab6bb0d2387626ae7cd747b10df (diff) | |
download | checksums-8794b6ba145e53113012b9102bed999957976a6a.tar.gz |
refactor: move print to lib
Sponsored-by: author
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index 43ad299..d0695af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,12 +18,6 @@ fn main() { } } -fn print(checksums: &[FileChecksum]) { - for c in checksums { - c.print(); - } -} - fn checksums_linear(filenames: &[PathBuf]) -> anyhow::Result<()> { println!("linear"); let checksums: Result<Vec<FileChecksum>, std::io::Error> = filenames |