mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-22 21:55:10 +02:00
better SharedBytes usage for h2
This commit is contained in:
@@ -154,7 +154,6 @@ impl<S> HttpRequest<S> {
|
||||
// get mutable reference for inner message
|
||||
// mutable reference should not be returned as result for request's method
|
||||
#[inline]
|
||||
#[allow(mutable_transmutes)]
|
||||
#[cfg_attr(feature = "cargo-clippy", allow(mut_from_ref))]
|
||||
fn as_mut(&self) -> &mut HttpMessage {
|
||||
self.0.get_mut()
|
||||
|
Reference in New Issue
Block a user