fix lints
This commit is contained in:
@ -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 }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user