aboutsummaryrefslogtreecommitdiff
path: root/ui/src/account/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/account/mod.rs')
-rw-r--r--ui/src/account/mod.rs8
1 files changed, 4 insertions, 4 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)
}
}