From 51d5a08255482d6cf7dfcb9e3c6bb1a0aec6379d Mon Sep 17 00:00:00 2001 From: vsrs <62505555+vsrs@users.noreply.github.com> Date: Thu, 14 May 2020 16:28:18 +0300 Subject: Better label for a runnable. Co-authored-by: Aleksey Kladov --- crates/rust-analyzer/src/main_loop/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/rust-analyzer/src/main_loop/handlers.rs b/crates/rust-analyzer/src/main_loop/handlers.rs index 76ed6f29a..a5d0cbe78 100644 --- a/crates/rust-analyzer/src/main_loop/handlers.rs +++ b/crates/rust-analyzer/src/main_loop/handlers.rs @@ -1020,7 +1020,7 @@ fn to_lsp_runnable( RunnableKind::Bench { test_id } => format!("bench {}", test_id), RunnableKind::DocTest { test_id, .. } => format!("doctest {}", test_id), RunnableKind::Bin => { - target.map_or_else(|| "run binary".to_string(), |t| format!("run binary '{}'", t)) + target.map_or_else(|| "run binary".to_string(), |t| format!("run {}", t)) } }; Ok(lsp_ext::Runnable { -- cgit v1.2.3