aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2019-01-31 12:44:26 +0000
committerJeremy Kolb <[email protected]>2019-01-31 12:44:26 +0000
commit76c0d0b94d8fb64d27da203b85b576aa759e1bf8 (patch)
treef7159346875e77fe33af59e78fedd5f225d94bea /crates
parent57899d66fa76f9d8d5ba64c3267cc34a94007e7f (diff)
format
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs4
1 files changed, 3 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 2a16d37b5..0bec57e84 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -618,7 +618,9 @@ pub fn handle_code_lens(
618 618
619 for runnable in world.analysis().runnables(file_id)? { 619 for runnable in world.analysis().runnables(file_id)? {
620 let title = match &runnable.kind { 620 let title = match &runnable.kind {
621 RunnableKind::Test { name: _ } | RunnableKind::TestMod { path: _ } => Some("▶️Run Test"), 621 RunnableKind::Test { name: _ } | RunnableKind::TestMod { path: _ } => {
622 Some("▶️Run Test")
623 }
622 RunnableKind::Bench { name: _ } => Some("Run Bench"), 624 RunnableKind::Bench { name: _ } => Some("Run Bench"),
623 _ => None, 625 _ => None,
624 }; 626 };