relax and de-clutter let_underscore_must_use
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
100c6f572b
commit
23a9055199
9 changed files with 5 additions and 29 deletions
|
@ -37,7 +37,6 @@ conduit::mod_dtor! {}
|
|||
|
||||
static SERVICES: RwLock<Option<&Services>> = RwLock::new(None);
|
||||
|
||||
#[allow(clippy::let_underscore_must_use)]
|
||||
pub async fn init(server: &Arc<Server>) -> Result<()> {
|
||||
let d = Arc::new(Database::open(server).await?);
|
||||
let s = Box::new(Services::build(server.clone(), d)?);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue