catch more errors
This commit is contained in:
		@@ -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::*;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //
 | 
					    //
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user