From 6fd628bf9ed6d0cafe0f90cb9011337d0d4aa774 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 16 Dec 2023 03:22:43 +0000 Subject: [PATCH] doc tweak --- actix-http/src/header/map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-http/src/header/map.rs b/actix-http/src/header/map.rs index 67292101f..d8a63b573 100644 --- a/actix-http/src/header/map.rs +++ b/actix-http/src/header/map.rs @@ -636,14 +636,14 @@ impl<'a> IntoIterator for &'a HeaderMap { } } -/// Convert `http::HeaderMap` to our `HeaderMap`. +/// Convert a `http::HeaderMap` to our `HeaderMap`. impl From for HeaderMap { fn from(mut map: http::HeaderMap) -> Self { Self::from_drain(map.drain()) } } -/// Convert our 'HeaderMap' to 'http::HeaderMap'. +/// Convert our `HeaderMap` to a `http::HeaderMap`. impl From for http::HeaderMap { fn from(map: HeaderMap) -> Self { Self::from_iter(map)