Fixed most recent nightly clippy warnings (#817)
* Fixed most recent nightly clippy warnings * Missing wasm32 changes
This commit is contained in:
committed by
GitHub
parent
673e13ec57
commit
0f7280c227
@@ -263,9 +263,10 @@ fn override_config(mut config: Config, matches: &ArgMatches) -> Config {
|
||||
{
|
||||
let monitor_threshold =
|
||||
monitor_threshold.expect("Provided monitor threshold is not a number!");
|
||||
if monitor_threshold > 100 {
|
||||
panic!("Provided monitor threshold is greater than 100!");
|
||||
}
|
||||
assert!(
|
||||
!(monitor_threshold > 100),
|
||||
"Provided monitor threshold is greater than 100!"
|
||||
);
|
||||
config = config.with_minimum_epoch_monitor_threshold(monitor_threshold)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user