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

bump msrv to 1.51

This commit is contained in:
Rob Ede
2021-08-30 23:19:03 +01:00
parent 168b2f227d
commit 5128b1bdfc
26 changed files with 43 additions and 30 deletions

View File

@@ -80,7 +80,7 @@ mod tests {
impl Body {
pub(crate) fn get_ref(&self) -> &[u8] {
match *self {
Body::Bytes(ref bin) => &bin,
Body::Bytes(ref bin) => bin,
_ => panic!(),
}
}