mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-08-02 12:24:52 +02:00
parent
b3f0f8ff54
commit
f6bab626ec
6 changed files with 25 additions and 24 deletions
|
|
@ -61,6 +61,7 @@ impl Iden for CleanMapName {
|
|||
|
||||
#[derive(Iden)]
|
||||
#[iden = "ARRAY"]
|
||||
#[allow(dead_code)]
|
||||
pub struct ArrayFunc;
|
||||
|
||||
#[derive(Iden)]
|
||||
|
|
|
|||
|
|
@ -142,11 +142,11 @@ impl Render for UploadsLink<'_> {
|
|||
}
|
||||
|
||||
impl SteamId {
|
||||
pub fn uploads_link(&self) -> UploadsLink {
|
||||
pub fn uploads_link<'a>(&'a self) -> UploadsLink<'a> {
|
||||
UploadsLink(self)
|
||||
}
|
||||
|
||||
pub fn profile_link(&self) -> ProfileLink {
|
||||
pub fn profile_link<'a>(&'a self) -> ProfileLink<'a> {
|
||||
ProfileLink(self)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ pub struct AboutPage {
|
|||
}
|
||||
|
||||
impl AboutPage {
|
||||
pub fn plugin_section(&self) -> PluginSection {
|
||||
pub fn plugin_section<'a>(&'a self) -> PluginSection<'a> {
|
||||
PluginSection {
|
||||
key: self.key.as_ref(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue