From 272ae257b36207c44526871b02e0a678f3e1c4ed Mon Sep 17 00:00:00 2001 From: Kikuo Emoto Date: Mon, 20 Nov 2023 00:14:24 +0900 Subject: [PATCH] style: apply cargo fmt --- src/verify_cert.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/verify_cert.rs b/src/verify_cert.rs index 85ae147f..ff51169e 100644 --- a/src/verify_cert.rs +++ b/src/verify_cert.rs @@ -29,7 +29,11 @@ pub(crate) struct ChainOptions<'a> { pub(crate) crls: &'a [&'a dyn CertRevocationList], } -pub(crate) fn build_chain(opts: &ChainOptions, cert: &Cert, time: Option) -> Result<(), Error> { +pub(crate) fn build_chain( + opts: &ChainOptions, + cert: &Cert, + time: Option, +) -> Result<(), Error> { build_chain_inner(opts, cert, time, 0, &mut Budget::default()).map_err(|e| match e { ControlFlow::Break(err) => err, ControlFlow::Continue(err) => err,