From f635a1777905ac6bb1082c3f094422ff677bbce8 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 20 Jan 2024 08:28:08 +0900 Subject: [PATCH] doc(core): add detailed document to Header encode method --- headers-core/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers-core/src/lib.rs b/headers-core/src/lib.rs index eca25a1c..d5a05d6f 100644 --- a/headers-core/src/lib.rs +++ b/headers-core/src/lib.rs @@ -29,7 +29,8 @@ pub trait Header { Self: Sized, I: Iterator; - /// Encode this type to a [`HeaderValue`]. + /// Encode this type to a [`HeaderValue`], and add it to a container + /// which has [`HeaderValue`] type as each element. /// /// This function should be infallible. Any errors converting to a /// `HeaderValue` should have been caught when parsing or constructing