From 03079f0c7c71a0a0e4c45eabaa12a2afd921ac8a Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 20 Jan 2024 07:51:51 +0900 Subject: [PATCH] doc(core): add link to Header document --- headers-core/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers-core/src/lib.rs b/headers-core/src/lib.rs index 42719411..eca25a1c 100644 --- a/headers-core/src/lib.rs +++ b/headers-core/src/lib.rs @@ -23,13 +23,13 @@ pub trait Header { /// The name of this header. fn name() -> &'static HeaderName; - /// Decode this type from an iterator of `HeaderValue`s. + /// Decode this type from an iterator of [`HeaderValue`]s. fn decode<'i, I>(values: &mut I) -> Result where Self: Sized, I: Iterator; - /// Encode this type to a `HeaderValue`. + /// Encode this type to a [`HeaderValue`]. /// /// This function should be infallible. Any errors converting to a /// `HeaderValue` should have been caught when parsing or constructing