From 323171d146ceaaa85dc2a5f13b7f69a6d32e501f Mon Sep 17 00:00:00 2001 From: Emmanuel Bosquet Date: Fri, 17 Nov 2023 13:00:03 +0100 Subject: [PATCH] remove useless Serde error in channel module --- command/src/channel.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/command/src/channel.rs b/command/src/channel.rs index 9c5d5b5c1..9f2addad4 100644 --- a/command/src/channel.rs +++ b/command/src/channel.rs @@ -36,8 +36,6 @@ pub enum ChannelError { NothingRead, #[error("invalid char set in command message, ignoring: {0}")] InvalidCharSet(String), - #[error("Error deserializing message")] - Serde(serde_json::error::Error), #[error("Could not change the blocking status ef the unix stream with file descriptor {fd}: {error}")] BlockingStatus { fd: i32, error: String }, #[error("Connection error: {0:?}")]