summaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-09-13 01:46:53 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-09-13 02:42:27 -0400
commit43a20d43b09876082e54b550087f166aabdab82d (patch)
tree1c9518d45eed50b3db93a9f0df71c23f5b06f039 /src/index
parent3193a30ebcf6bafdeaf463eda0e7e82082dfe4b5 (diff)
Suggested fixes from Clippy, via nursery and pedantic sets.
Diffstat (limited to 'src/index')
-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 }
}