Lots of clippy appeasement

This commit is contained in:
Lennart
2025-10-27 20:12:21 +01:00
parent 0d071d3b92
commit 86cf490fa9
84 changed files with 413 additions and 435 deletions

View File

@@ -1,4 +1,5 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
#![allow(clippy::missing_errors_doc)]
pub use error::Error;
use serde::Serialize;
use sqlx::{Pool, Sqlite, SqlitePool, sqlite::SqliteConnectOptions};
@@ -26,7 +27,8 @@ pub struct SqliteStore {
}
impl SqliteStore {
#[must_use] pub const fn new(db: SqlitePool) -> Self {
#[must_use]
pub const fn new(db: SqlitePool) -> Self {
Self { db }
}
}