1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

Fix new clippy 0.1.63 warnings

This commit is contained in:
Kévin Commaille
2022-08-12 10:24:16 +02:00
committed by Quentin Gliech
parent 759809b7fd
commit 5c8b442747
8 changed files with 14 additions and 14 deletions

View File

@@ -100,7 +100,7 @@ where
.await
.map_err(Error::body)?;
let body = serde_json::from_slice(&bytes.to_vec()).map_err(Error::json)?;
let body = serde_json::from_slice(&bytes).map_err(Error::json)?;
let res = Response::from_parts(parts, body);
Ok(res)