catch more errors

This commit is contained in:
John Smith 2021-12-09 16:11:52 -05:00
parent ea8ffea1c9
commit 73104a81aa
4 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#![deny(clippy::all)] #![deny(clippy::all)]
#![deny(unused_must_use)]
use anyhow::*; use anyhow::*;
use async_std::prelude::*; use async_std::prelude::*;

View File

@ -1,4 +1,5 @@
#![deny(clippy::all)] #![deny(clippy::all)]
#![deny(unused_must_use)]
#![cfg_attr(target_arch = "wasm32", no_std)] #![cfg_attr(target_arch = "wasm32", no_std)]
#[macro_use] #[macro_use]

View File

@ -205,7 +205,7 @@ impl VeilidCore {
// stop the node gracefully because the veilid api was dropped // stop the node gracefully because the veilid api was dropped
pub(crate) async fn shutdown(self) { pub(crate) async fn shutdown(self) {
let mut inner = self.inner.lock(); let mut inner = self.inner.lock();
Self::internal_shutdown(&mut *inner); Self::internal_shutdown(&mut *inner).await;
} }
// //

View File

@ -1,5 +1,6 @@
#![forbid(unsafe_code)] #![forbid(unsafe_code)]
#![deny(clippy::all)] #![deny(clippy::all)]
#![deny(unused_must_use)]
mod client_api; mod client_api;
mod settings; mod settings;