diff --git a/src/main.rs b/src/main.rs index 49cceb0..382c6df 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,7 @@ extern crate clap; extern crate term; extern crate sha2; extern crate walkdir; +extern crate generic_array; use sha2::{Sha256, Digest}; @@ -90,8 +91,8 @@ impl Args { } } -struct FileToProcess { - hash: [u8; N], +struct FileToProcess> { + hash: GenericArray, name: String, realpath: String, }