From 356b3b8eebf22083c7d9655bb43e141dd0df732c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 6 Sep 2025 23:50:51 +0200 Subject: misc changes for current rust nightly --- ui/src/account/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/src/account/mod.rs') diff --git a/ui/src/account/mod.rs b/ui/src/account/mod.rs index 36a41c5..91202b0 100644 --- a/ui/src/account/mod.rs +++ b/ui/src/account/mod.rs @@ -24,7 +24,7 @@ impl Page for AccountLogin<'_> { .to_string() } - fn to_render(&self) -> markup::DynRender { + fn to_render(&self) -> markup::DynRender<'_> { markup::new!(@self) } } @@ -32,7 +32,7 @@ impl Page for AccountRegister<'_> { fn title(&self) -> String { tr(*self.lang, "account.register").to_string() } - fn to_render(&self) -> markup::DynRender { + fn to_render(&self) -> markup::DynRender<'_> { markup::new!(@self) } } @@ -40,7 +40,7 @@ impl Page for AccountRegisterSuccess<'_> { fn title(&self) -> String { tr(*self.lang, "account.register").to_string() } - fn to_render(&self) -> markup::DynRender { + fn to_render(&self) -> markup::DynRender<'_> { markup::new!(@self) } } @@ -48,7 +48,7 @@ impl Page for AccountLogout<'_> { fn title(&self) -> String { tr(*self.lang, "account.logout").to_string() } - fn to_render(&self) -> markup::DynRender { + fn to_render(&self) -> markup::DynRender<'_> { markup::new!(@self) } } -- cgit v1.2.3-70-g09d2