diff --git a/Cargo.lock b/Cargo.lock index 738df46..575f92b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1032,7 +1032,7 @@ dependencies = [ [[package]] name = "pasted" -version = "1.2.25" +version = "1.2.26" dependencies = [ "axum", "byte-unit", diff --git a/Cargo.toml b/Cargo.toml index 2f82660..f7fe63c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pasted" -version = "1.2.25" +version = "1.2.26" edition = "2021" authors = ["drakeerv "] description = "A pastebin frontend written in Rust" diff --git a/src/templates.rs b/src/templates.rs index 6a925e7..7a1b3f3 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -15,7 +15,6 @@ pub static TEMPLATES: Lazy = Lazy::new(|| { let templates = dir .files() - .iter() .map(|file| { let name = file.path().to_str().unwrap(); let content = std::str::from_utf8(file.contents()).unwrap();