fix lints

This commit is contained in:
2025-07-28 01:31:22 +01:00
parent 84bbbab6ea
commit bfda9d3735

View File

@ -12,6 +12,7 @@ pub struct NuState {
pub config: Config, pub config: Config,
} }
impl NuState { impl NuState {
#[must_use]
pub fn new(db: PgPool, config: Config) -> Self { pub fn new(db: PgPool, config: Config) -> Self {
Self { db, config } Self { db, config }
} }