mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-06 11:19:39 +01:00
chore(lint): Make clippy happy
This commit is contained in:
@@ -207,7 +207,8 @@ impl<'c, FD: 'static + FlowDelegate + Clone + Send, C: 'c + hyper::client::conne
|
||||
.and_then(move |r| {
|
||||
r.into_body()
|
||||
.concat2()
|
||||
.map(|c| String::from_utf8(c.into_bytes().to_vec()).unwrap()) // TODO: error handling
|
||||
.map(|c| String::from_utf8(c.into_bytes().to_vec()).unwrap())
|
||||
// TODO: error handling
|
||||
})
|
||||
.then(|body_or| {
|
||||
let resp = match body_or {
|
||||
|
||||
Reference in New Issue
Block a user