From fbd38002fa690e5480cfd76c24379ef67144c7f1 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Sun, 29 Sep 2019 08:45:12 +0200 Subject: [PATCH] chore(lint): Make clippy happy --- src/installed.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/installed.rs b/src/installed.rs index 0ae8ae0..46f9ee6 100644 --- a/src/installed.rs +++ b/src/installed.rs @@ -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 {