mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 13:51:50 +01:00
Get rid of one more unsafe
This commit is contained in:
parent
ec5c779732
commit
69dab0063c
@ -853,8 +853,8 @@ where
|
||||
}
|
||||
}
|
||||
}
|
||||
DispatcherState::Upgrade(ref mut fut) => {
|
||||
fut.as_mut().poll(cx).map_err(|e| {
|
||||
DispatcherState::Upgrade(fut) => {
|
||||
fut.poll(cx).map_err(|e| {
|
||||
error!("Upgrade handler error: {}", e);
|
||||
DispatchError::Upgrade
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user