mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-01 01:57:30 -04:00
catch more errors
This commit is contained in:
parent
ea8ffea1c9
commit
73104a81aa
4 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
#![deny(clippy::all)]
|
||||
#![deny(unused_must_use)]
|
||||
|
||||
use anyhow::*;
|
||||
use async_std::prelude::*;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#![deny(clippy::all)]
|
||||
#![deny(unused_must_use)]
|
||||
#![cfg_attr(target_arch = "wasm32", no_std)]
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
@ -205,7 +205,7 @@ impl VeilidCore {
|
|||
// stop the node gracefully because the veilid api was dropped
|
||||
pub(crate) async fn shutdown(self) {
|
||||
let mut inner = self.inner.lock();
|
||||
Self::internal_shutdown(&mut *inner);
|
||||
Self::internal_shutdown(&mut *inner).await;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#![forbid(unsafe_code)]
|
||||
#![deny(clippy::all)]
|
||||
#![deny(unused_must_use)]
|
||||
|
||||
mod client_api;
|
||||
mod settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue