aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2019-07-16 12:22:44 +0100
committerKirill Bulatov <[email protected]>2019-07-16 13:02:11 +0100
commit1037242e6e9a1075daba222884203cac5a638f17 (patch)
treecb0154569a278e4f9899355ed9e943adb049e53b /crates/ra_lsp_server/src
parent6deeabf686950636ea9f9bce9da96cf452f20765 (diff)
Add "Run" lens for binary runnables
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index ab9ed5080..68865b755 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -695,7 +695,7 @@ pub fn handle_code_lens(
695 let title = match &runnable.kind { 695 let title = match &runnable.kind {
696 RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => Some("▶️Run Test"), 696 RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => Some("▶️Run Test"),
697 RunnableKind::Bench { .. } => Some("Run Bench"), 697 RunnableKind::Bench { .. } => Some("Run Bench"),
698 _ => None, 698 RunnableKind::Bin => Some("️Run"),
699 }; 699 };
700 700
701 if let Some(title) = title { 701 if let Some(title) = title {