Skip to content
Snippets Groups Projects
Commit f3b7e781 authored by Stephen D's avatar Stephen D
Browse files

clippy fixes

parent 7c8f03a0
No related branches found
No related tags found
No related merge requests found
Pipeline #6640 failed
......@@ -84,7 +84,7 @@ dependencies = [
[[package]]
name = "dotacat"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"clap",
"colored",
......
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment