diff --git a/Cargo.lock b/Cargo.lock index 805b5e6eb2c5adfcd452b9143516e46ea55f3754..9584d28a8f0f7443bea33d71b556fda9c75eb241 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -84,7 +84,7 @@ dependencies = [ [[package]] name = "dotacat" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap", "colored", diff --git a/src/main.rs b/src/main.rs index 41811883483bd24dbf98f09a1bedea2b97580dee..d8f9af7a0bb35bb64321325fdde9ee57bfb93e24 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,7 +72,7 @@ fn main() { let file = match File::open(&file_path) { Ok(x) => x, Err(e) => { - eprintln!("Could not open {}: {}.", file_path, e); + eprintln!("Could not open {file_path}: {e}."); continue; } }; @@ -88,7 +88,7 @@ fn main() { seed += 1.0; } Err(e) => { - eprintln!("Error while reading {}: {}.", file_path, e); + eprintln!("Error while reading {file_path}: {e}."); continue; } }