From db758a2127449dbfa8d39ba4cf4207091502b82a Mon Sep 17 00:00:00 2001 From: Bodo Junglas Date: Wed, 5 Dec 2018 13:45:48 +0100 Subject: [PATCH] TEAS-577 [fix] clippy --- src/ws_try.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ws_try.rs b/src/ws_try.rs index 0e52572..2240756 100644 --- a/src/ws_try.rs +++ b/src/ws_try.rs @@ -89,6 +89,7 @@ where }) } +#[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] pub fn default_error_handler(response: client::ClientResponse) -> Problem { Problem::for_status( response.status().as_u16(),