summaryrefslogtreecommitdiff
path: root/src/index/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/index/app.rs')
-rw-r--r--src/index/app.rs2
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 }
}