Browse Source

Reformat some lines that had previously been split

pull/62/head
Rodolphe Bréard 3 years ago
parent
commit
ef6b0e4e2b
  1. 5
      acmed/src/acme_proto/structs/order.rs
  2. 5
      tacd/src/main.rs

5
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,
}

5
tacd/src/main.rs

@ -45,10 +45,7 @@ fn get_acme_value(cnf: &ArgMatches, opt: &str, opt_file: &str) -> Result<String,
}
fn init(cnf: &ArgMatches) -> 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")?;

Loading…
Cancel
Save