1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00

move response extensions out of head (#2585)

This commit is contained in:
Rob Ede
2022-01-19 02:09:25 +00:00
committed by GitHub
parent 7b8a392ef5
commit 2ffc21dd4f
21 changed files with 205 additions and 226 deletions

View File

@@ -142,8 +142,8 @@ impl RequestHead {
}
}
#[derive(Debug)]
#[allow(clippy::large_enum_variant)]
#[derive(Debug)]
pub enum RequestHeadType {
Owned(RequestHead),
Rc(Rc<RequestHead>, Option<HeaderMap>),