From bb34541077e5067f3ac3d729dc14ea89fd80e5fa Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Wed, 13 Nov 2024 18:13:26 +0100 Subject: [PATCH] remove unreachable path --- crates/servicepoint/src/connection.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/servicepoint/src/connection.rs b/crates/servicepoint/src/connection.rs index 087afd7..3626bc8 100644 --- a/crates/servicepoint/src/connection.rs +++ b/crates/servicepoint/src/connection.rs @@ -153,10 +153,6 @@ impl Connection { let _ = data; Ok(()) } - #[allow(unreachable_patterns)] // depends on features - _ => { - panic!("Connection {:?} does not support immutable send", self) - } } } }