From 2f5df555ecf70dbaf7f059723813ea099e12879d Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 15 Jun 2023 22:44:50 +0300 Subject: Smallish code tweaks - cleaner format!() - syndication links - broke up a long line --- kittybox-rs/templates/src/templates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kittybox-rs/templates/src/templates.rs') diff --git a/kittybox-rs/templates/src/templates.rs b/kittybox-rs/templates/src/templates.rs index 10c84a7..9826bfc 100644 --- a/kittybox-rs/templates/src/templates.rs +++ b/kittybox-rs/templates/src/templates.rs @@ -93,7 +93,7 @@ markup::define! { @Feed { feed } } ErrorPage(code: StatusCode, msg: Option) { - h1 { @format!("HTTP {}", code) } + h1 { @format!("HTTP {code}") } @match *code { StatusCode::UNAUTHORIZED => { p { "Looks like you need to authenticate yourself before seeing this page. Try logging in with IndieAuth using the Login button above!" } -- cgit 1.4.1