From 7cc13fefe9bd09ea778a0eb8c26bf133e6ad2476 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 7 Jun 2021 22:34:19 +0800 Subject: Derive debug without feature Note that this also removed those `finish_non_exhaustive()`. --- helix-lsp/src/transport.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-lsp/src/transport.rs') diff --git a/helix-lsp/src/transport.rs b/helix-lsp/src/transport.rs index 876de929..e8068323 100644 --- a/helix-lsp/src/transport.rs +++ b/helix-lsp/src/transport.rs @@ -31,7 +31,7 @@ enum ServerMessage { Call(jsonrpc::Call), } -#[cfg_attr(feature = "debug", derive(Debug))] +#[derive(Debug)] pub struct Transport { client_tx: UnboundedSender, client_rx: UnboundedReceiver, -- cgit v1.2.3-70-g09d2