From b0fb97e1bf2789d88ed8f2085e09a4f03377ff9a Mon Sep 17 00:00:00 2001 From: Johann Birnick Date: Sat, 8 Jun 2024 23:15:32 -0700 Subject: [PATCH] Derive `Clone` and `Copy` for `AppendHeaders` Fixes: #2774 --- axum-core/src/response/append_headers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-core/src/response/append_headers.rs b/axum-core/src/response/append_headers.rs index e4ac4812f9..aa8f2dbdfb 100644 --- a/axum-core/src/response/append_headers.rs +++ b/axum-core/src/response/append_headers.rs @@ -29,7 +29,7 @@ use std::fmt; /// ) /// } /// ``` -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] #[must_use] pub struct AppendHeaders(pub I);