Revert change to actix_http::message

This commit is contained in:
fakeshadow 2021-04-20 04:09:56 +08:00
parent 940dfabf2a
commit 5dba0231d9
1 changed files with 1 additions and 1 deletions

View File

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