From 5bc8eba61dd3a43c803549366a12b1dc455fc522 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 6 Dec 2024 09:55:55 +0100 Subject: [PATCH] typo --- src/utils/misc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/misc.rs b/src/utils/misc.rs index 9338eac..1d14e3c 100644 --- a/src/utils/misc.rs +++ b/src/utils/misc.rs @@ -57,11 +57,11 @@ impl Responder for Html { /// Read a file pub fn read_file(filename: FilePath, expected_file: MType) -> Option { - read_file_aux(filename, expected_file) + reader(filename, expected_file) } #[cached] -fn read_file_aux(filename: FilePath, expected_file: MType) -> Option { +fn reader(filename: FilePath, expected_file: MType) -> Option { let as_str = filename.to_string(); Path::new(&as_str) .extension()