diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-27 20:56:20 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-27 20:56:20 +0100 |
| commit | 7930d543a2aa68d4ad2958605827d7eb1baa91f8 (patch) | |
| tree | fe59d1f549e303a96b78d3e925d75abb70b73af0 /ui/src/lib.rs | |
| parent | c05bfcc2775f0e11db6e856bfcf06d0419c35d54 (diff) | |
| download | jellything-7930d543a2aa68d4ad2958605827d7eb1baa91f8.tar jellything-7930d543a2aa68d4ad2958605827d7eb1baa91f8.tar.bz2 jellything-7930d543a2aa68d4ad2958605827d7eb1baa91f8.tar.zst | |
reimplement Object as slice type
Diffstat (limited to 'ui/src/lib.rs')
| -rw-r--r-- | ui/src/lib.rs | 3 |
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>, |