1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 00:44:26 +02:00

bump MSRV to 1.42 (#1616)

This commit is contained in:
Rob Ede
2020-07-21 08:40:30 +01:00
committed by GitHub
parent f8d5ad6b53
commit 0ec335a39c
15 changed files with 29 additions and 82 deletions

View File

@ -229,10 +229,7 @@ mod tests {
fn is_none(
frm: &Result<Option<(bool, OpCode, Option<BytesMut>)>, ProtocolError>,
) -> bool {
match *frm {
Ok(None) => true,
_ => false,
}
matches!(*frm, Ok(None))
}
fn extract(