fix lints
This commit is contained in:
@ -12,6 +12,7 @@ pub struct NuState {
|
||||
pub config: Config,
|
||||
}
|
||||
impl NuState {
|
||||
#[must_use]
|
||||
pub fn new(db: PgPool, config: Config) -> Self {
|
||||
Self { db, config }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user