From 535ff02493818d97c29ce08e8c6d9c3dca9165a4 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Fri, 15 Dec 2023 21:17:53 -0500 Subject: [PATCH] Apply clippy fix --- actix-http/src/header/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/header/map.rs b/actix-http/src/header/map.rs index 3a500a70c..67292101f 100644 --- a/actix-http/src/header/map.rs +++ b/actix-http/src/header/map.rs @@ -646,7 +646,7 @@ impl From for HeaderMap { /// Convert our 'HeaderMap' to 'http::HeaderMap'. impl From for http::HeaderMap { fn from(map: HeaderMap) -> Self { - Self::from_iter(map.into_iter()) + Self::from_iter(map) } }