mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 22:49:21 +02:00
fix warnings
This commit is contained in:
@ -477,7 +477,7 @@ macro_rules! byte (
|
||||
($rdr:ident) => ({
|
||||
if $rdr.len() > 0 {
|
||||
let b = $rdr[0];
|
||||
$rdr.split_to(1);
|
||||
let _ = $rdr.split_to(1);
|
||||
b
|
||||
} else {
|
||||
return Poll::Pending
|
||||
|
Reference in New Issue
Block a user