From f3b7e7816bed6b84123e066c57cf4003d77a85f1 Mon Sep 17 00:00:00 2001
From: Stephen <webmaster@scd31.com>
Date: Fri, 27 Jan 2023 07:34:56 -0400
Subject: [PATCH] clippy fixes

---
 Cargo.lock  | 2 +-
 src/main.rs | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 805b5e6..9584d28 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 4181188..d8f9af7 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;
                     }
                 }
-- 
GitLab