cargo fmt

main
xenofem 2022-07-05 16:37:59 -04:00
parent 347f38cbc1
commit faf018a0a5
1 changed files with 2 additions and 1 deletions

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]