diff --git a/rs/consensus/src/lib.rs b/rs/consensus/src/lib.rs index 4f0a9ecdc66..471a29d69e8 100755 --- a/rs/consensus/src/lib.rs +++ b/rs/consensus/src/lib.rs @@ -1,4 +1,4 @@ -#![deny(missing_docs)] +#![cfg_attr(not(test), deny(missing_docs))] //! The consensus crate provides implementations of the consensus algorithm of //! the internet computer block chain, a component responsible for executing //! distributed key generation using said block chain to hold the state of the diff --git a/rs/starter/src/main.rs b/rs/starter/src/main.rs index c3a30475a92..970b03ae284 100644 --- a/rs/starter/src/main.rs +++ b/rs/starter/src/main.rs @@ -205,7 +205,7 @@ fn main() -> Result<()> { .arg("--config-file") .args([config_path.to_str().unwrap()]); info!(log, "Executing {:?}", cmd); - cmd.exec(); + let _ = cmd.exec(); Ok(()) }