You've already forked authentication-service
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:
committed by
Quentin Gliech
parent
759809b7fd
commit
5c8b442747
@@ -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)
|
||||
|
Reference in New Issue
Block a user