From 5dba0231d99865b56c93a28365b9ba7a212c6369 Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Tue, 20 Apr 2021 04:09:56 +0800 Subject: [PATCH] Revert change to actix_http::message --- actix-http/src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/message.rs b/actix-http/src/message.rs index 50eb7a30e..8cb99d43a 100644 --- a/actix-http/src/message.rs +++ b/actix-http/src/message.rs @@ -390,7 +390,7 @@ impl BoxedResponseHead { RESPONSE_POOL.with(|p| p.get_message(status)) } - pub fn take(&mut self) -> Self { + pub(crate) fn take(&mut self) -> Self { BoxedResponseHead { head: self.head.take(), }