1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 06:57:43 +02:00

chore: avoid single char error bindings

This commit is contained in:
Rob Ede
2023-09-03 19:09:42 +01:00
parent d445742974
commit 215a52f565
19 changed files with 73 additions and 73 deletions

View File

@ -775,10 +775,10 @@ where
break;
}
Poll::Pending => break,
Poll::Ready(Some(Err(e))) => {
Poll::Ready(Some(Err(err))) => {
return Poll::Ready(Some(Err(ProtocolError::Io(io::Error::new(
io::ErrorKind::Other,
format!("{}", e),
format!("{err}"),
)))));
}
}