diff --git a/acmed/src/acme_proto/structs/order.rs b/acmed/src/acme_proto/structs/order.rs index a3e6a12..6d9f6d1 100644 --- a/acmed/src/acme_proto/structs/order.rs +++ b/acmed/src/acme_proto/structs/order.rs @@ -18,10 +18,7 @@ pub struct NewOrder { impl NewOrder { pub fn new(identifiers: &[identifier::Identifier]) -> Self { NewOrder { - identifiers: identifiers - .iter() - .map(Identifier::from_generic) - .collect(), + identifiers: identifiers.iter().map(Identifier::from_generic).collect(), not_before: None, not_after: None, } diff --git a/tacd/src/main.rs b/tacd/src/main.rs index b3de330..12bb369 100644 --- a/tacd/src/main.rs +++ b/tacd/src/main.rs @@ -45,10 +45,7 @@ fn get_acme_value(cnf: &ArgMatches, opt: &str, opt_file: &str) -> Result Result<(), Error> { - acme_common::init_server( - cnf.is_present("foreground"), - cnf.value_of("pid-file"), - ); + acme_common::init_server(cnf.is_present("foreground"), cnf.value_of("pid-file")); let domain = get_acme_value(cnf, "domain", "domain-file")?; let domain = to_idna(&domain)?; let ext = get_acme_value(cnf, "acme-ext", "acme-ext-file")?;