From b210fdf9eea467613958fb9921c4077de7f9e276 Mon Sep 17 00:00:00 2001 From: Kivanc Date: Thu, 11 Dec 2025 13:56:27 +0300 Subject: [PATCH] Checker fix --- solutions/24_file_io/file_io1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/24_file_io/file_io1.rs b/solutions/24_file_io/file_io1.rs index ece68a67..f73b2a84 100644 --- a/solutions/24_file_io/file_io1.rs +++ b/solutions/24_file_io/file_io1.rs @@ -12,7 +12,7 @@ fn main() { Ok(contents) => { assert_eq!("This is the file content.", contents); } - Err(e) => { + Err(_) => { panic!("Error reading file."); }