mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-17 20:49:29 +00:00
Lots of clippy appeasement
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user