diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-13 01:46:53 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-13 02:42:27 -0400 |
| commit | 43a20d43b09876082e54b550087f166aabdab82d (patch) | |
| tree | 1c9518d45eed50b3db93a9f0df71c23f5b06f039 /src/app.rs | |
| parent | 3193a30ebcf6bafdeaf463eda0e7e82082dfe4b5 (diff) | |
Suggested fixes from Clippy, via nursery and pedantic sets.
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) } } |
