diff options
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,15 +22,15 @@ impl App { } impl App { - pub fn index(&self) -> Index { + pub const fn index(&self) -> Index { Index::new(&self.db) } - pub fn logins(&self) -> Logins { + pub const fn logins(&self) -> Logins { Logins::new(&self.db) } - pub fn channels(&self) -> Channels { + pub const fn channels(&self) -> Channels { Channels::new(&self.db, &self.broadcaster) } } |
