mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
fix warnings
This commit is contained in:
parent
c1deaaeb2f
commit
3d64d565d9
@ -50,7 +50,7 @@ actix-tls = { version = "1.0.0", optional = true }
|
|||||||
|
|
||||||
base64 = "0.11"
|
base64 = "0.11"
|
||||||
bitflags = "1.2"
|
bitflags = "1.2"
|
||||||
bytes = "0.5.2"
|
bytes = "0.5.3"
|
||||||
copyless = "0.1.4"
|
copyless = "0.1.4"
|
||||||
chrono = "0.4.6"
|
chrono = "0.4.6"
|
||||||
derive_more = "0.99.2"
|
derive_more = "0.99.2"
|
||||||
|
@ -477,7 +477,7 @@ macro_rules! byte (
|
|||||||
($rdr:ident) => ({
|
($rdr:ident) => ({
|
||||||
if $rdr.len() > 0 {
|
if $rdr.len() > 0 {
|
||||||
let b = $rdr[0];
|
let b = $rdr[0];
|
||||||
$rdr.split_to(1);
|
let _ = $rdr.split_to(1);
|
||||||
b
|
b
|
||||||
} else {
|
} else {
|
||||||
return Poll::Pending
|
return Poll::Pending
|
||||||
|
@ -108,7 +108,7 @@ impl Parser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remove prefix
|
// remove prefix
|
||||||
src.split_to(idx);
|
let _ = src.split_to(idx);
|
||||||
|
|
||||||
// no need for body
|
// no need for body
|
||||||
if length == 0 {
|
if length == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user