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)