Skip to content

Commit

Permalink
chore: appease the linter
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Sep 14, 2022
1 parent b931427 commit bd54594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ async fn attest(
let crt = Certificate::from_der(&crt).or(Err(ISE))?;

// Create and return the PkiPath.
PkiPath::from(vec![issuer, crt]).to_vec().or(Err(ISE))
PkiPath::from([issuer, crt]).to_vec().or(Err(ISE))
}

#[cfg(test)]
Expand Down

0 comments on commit bd54594

Please sign in to comment.