From 71bbd199aa67811c9d7a15dbf1b66c5e43b76d29 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 Apr 2023 07:31:09 +0000 Subject: refactor(router): simplify context creation --- src/context/error.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/context/error.rs') diff --git a/src/context/error.rs b/src/context/error.rs index a9a4b85..7e02b1a 100644 --- a/src/context/error.rs +++ b/src/context/error.rs @@ -20,6 +20,7 @@ use openssl::x509::X509; use url::Url; #[allow(clippy::module_name_repetitions)] +#[derive(Clone)] pub struct ErrorContext { pub url: Url, pub certificate: Option, -- cgit v1.2.3