From 7812b9217219b8cd9aab1d0fdb51a8e7258f7265 Mon Sep 17 00:00:00 2001 From: Folkert de Vries Date: Thu, 7 Dec 2023 14:32:42 +0100 Subject: [PATCH] clippy --- nts-pool-ke/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nts-pool-ke/src/lib.rs b/nts-pool-ke/src/lib.rs index 78d5a17ef..1f66db252 100644 --- a/nts-pool-ke/src/lib.rs +++ b/nts-pool-ke/src/lib.rs @@ -276,7 +276,7 @@ async fn pick_nts_ke_servers<'a>( Ok(x) => return Ok(x), Err(e) => match e { KeyExchangeError::Io(e) if e.kind() == ErrorKind::ConnectionRefused => continue, - _ => return Err(e.into()), + _ => return Err(e), }, } }