cargo fmt

This commit is contained in:
xenofem 2022-07-05 16:37:59 -04:00
parent 347f38cbc1
commit faf018a0a5

View file

@ -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]