From bd54594571f919064d1163ee0023940b1f4b718b Mon Sep 17 00:00:00 2001 From: Richard Zak Date: Wed, 14 Sep 2022 13:59:24 -0400 Subject: [PATCH] chore: appease the linter Signed-off-by: Richard Zak --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fa3b3362..dad79e36 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)]