Assign unsed return value to underscore variable
This commit is contained in:
parent
346a67fe1c
commit
05a98175bf
@ -59,7 +59,7 @@ fn init_pool() -> Option<DbPool> {
|
|||||||
let pool = builder.build(manager).ok()?;
|
let pool = builder.build(manager).ok()?;
|
||||||
let conn = pool.get().unwrap();
|
let conn = pool.get().unwrap();
|
||||||
Instance::cache_local(&conn);
|
Instance::cache_local(&conn);
|
||||||
Instance::create_local_instance_user(&conn);
|
let _ = Instance::create_local_instance_user(&conn);
|
||||||
Instance::cache_local_instance_user(&conn);
|
Instance::cache_local_instance_user(&conn);
|
||||||
Some(pool)
|
Some(pool)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user