cargo fmt
This commit is contained in:
parent
347f38cbc1
commit
faf018a0a5
|
@ -281,7 +281,8 @@ where
|
||||||
<T as FromStr>::Err: Debug,
|
<T as FromStr>::Err: Debug,
|
||||||
{
|
{
|
||||||
let val = std::env::var(var).unwrap_or_else(|_| panic!("{} must be set!", var));
|
let val = std::env::var(var).unwrap_or_else(|_| panic!("{} must be set!", var));
|
||||||
val.parse::<T>().unwrap_or_else(|_| panic!("Invalid value {} for variable {}", val, var))
|
val.parse::<T>()
|
||||||
|
.unwrap_or_else(|_| panic!("Invalid value {} for variable {}", val, var))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_web::main]
|
#[actix_web::main]
|
||||||
|
|
Loading…
Reference in a new issue