diff options
Diffstat (limited to 'ui/src/account')
-rw-r--r-- | ui/src/account/mod.rs | 8 | ||||
-rw-r--r-- | ui/src/account/settings.rs | 2 |
2 files changed, 5 insertions, 5 deletions
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) } } diff --git a/ui/src/account/settings.rs b/ui/src/account/settings.rs index 7334c62..8a56363 100644 --- a/ui/src/account/settings.rs +++ b/ui/src/account/settings.rs @@ -18,7 +18,7 @@ impl Page for SettingsPage<'_> { fn title(&self) -> String { format!("Settings") } - fn to_render(&self) -> markup::DynRender { + fn to_render(&self) -> markup::DynRender<'_> { markup::new!(@self) } } |