From 814dcfa8d234e5031313b050b851641da8e6359b Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 26 Sep 2021 21:54:36 +0300 Subject: fix lints --- helix-dap/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-dap/src') diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index 832a70c2..72aff5d2 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -54,7 +54,7 @@ impl Client { port_arg: Option, id: usize, ) -> Result<(Self, UnboundedReceiver)> { - if command == "" { + if command.is_empty() { return Result::Err(Error::Other(anyhow!("Command not provided"))); } if transport == "tcp" && port_arg.is_some() { -- cgit v1.2.3-70-g09d2