aboutsummaryrefslogtreecommitdiff
path: root/ui/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/lib.rs')
-rw-r--r--ui/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/lib.rs b/ui/src/lib.rs
index 93dd38a..76e2018 100644
--- a/ui/src/lib.rs
+++ b/ui/src/lib.rs
@@ -3,6 +3,7 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2026 metamuffin <metamuffin.org>
*/
+#![feature(phantom_variance_markers)]
pub mod components;
pub(crate) mod format;
mod scaffold;
@@ -33,7 +34,7 @@ pub trait Page {
}
pub struct RenderInfo<'a> {
- pub user: Option<Object<'a>>,
+ pub user: Option<&'a Object>,
pub message: Option<(&'a str, &'a str)>,
pub lang: &'a str,
pub status_message: Option<&'a str>,