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(), }