diff options
Diffstat (limited to 'src/index/app.rs')
| -rw-r--r-- | src/index/app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/app.rs b/src/index/app.rs index d6eef18..6075c6f 100644 --- a/src/index/app.rs +++ b/src/index/app.rs @@ -10,7 +10,7 @@ pub struct Index<'a> { } impl<'a> Index<'a> { - pub fn new(db: &'a SqlitePool) -> Self { + pub const fn new(db: &'a SqlitePool) -> Self { Self { db } } |
