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

update HttpMessage impls

This commit is contained in:
Nikolay Kim
2019-03-05 19:10:45 -08:00
parent 81273f71ef
commit f71354783e
2 changed files with 6 additions and 16 deletions

View File

@@ -117,11 +117,6 @@ impl HttpMessage for HttpRequest {
&self.head().headers
}
#[inline]
fn headers_mut(&mut self) -> &mut HeaderMap {
&mut self.head.headers
}
/// Request extensions
#[inline]
fn extensions(&self) -> Ref<Extensions> {