diff --git a/proto-compiler/src/functions.rs b/proto-compiler/src/functions.rs index 69dac0d..ec333a3 100644 --- a/proto-compiler/src/functions.rs +++ b/proto-compiler/src/functions.rs @@ -348,7 +348,7 @@ pub(crate) fn save_state(dir: &Path, commitish: &str) { pub(crate) fn check_state(dir: &Path, commitish: &str) -> bool { let state_file = PathBuf::from(&dir).join("download.state"); - match read_to_string(&state_file) { + match read_to_string(state_file) { Ok(content) => { println!( "[info] => Found previously downloaded Tenderdash {}.",