From 2c0a49689716cdbfe162fec5d8b2cb429113df52 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 6 Aug 2023 19:33:16 +0200 Subject: [PATCH] Rename template struct for consistency --- src/web/commit_hash.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/commit_hash.rs b/src/web/commit_hash.rs index 6a22cea..657c055 100644 --- a/src/web/commit_hash.rs +++ b/src/web/commit_hash.rs @@ -29,7 +29,7 @@ impl Commit { #[derive(Template)] #[template(path = "commit_hash.html")] -struct CommitIdTemplate { +struct CommitHashTemplate { base: Base, hash: String, author: String, @@ -97,7 +97,7 @@ pub async fn get( .try_collect::>() .await?; - Ok(CommitIdTemplate { + Ok(CommitHashTemplate { base: Base::new(config, Tab::Commit), hash: commit.hash, author: commit.author,