aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/main_loop/handlers.rs2
1 files changed, 1 insertions, 1 deletions
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(
1020 RunnableKind::Bench { test_id } => format!("bench {}", test_id), 1020 RunnableKind::Bench { test_id } => format!("bench {}", test_id),
1021 RunnableKind::DocTest { test_id, .. } => format!("doctest {}", test_id), 1021 RunnableKind::DocTest { test_id, .. } => format!("doctest {}", test_id),
1022 RunnableKind::Bin => { 1022 RunnableKind::Bin => {
1023 target.map_or_else(|| "run binary".to_string(), |t| format!("run binary '{}'", t)) 1023 target.map_or_else(|| "run binary".to_string(), |t| format!("run {}", t))
1024 } 1024 }
1025 }; 1025 };
1026 Ok(lsp_ext::Runnable { 1026 Ok(lsp_ext::Runnable {