]> git.lizzy.rs Git - rust.git/commitdiff
Merge #4540
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 20 May 2020 21:33:36 +0000 (21:33 +0000)
committerGitHub <noreply@github.com>
Wed, 20 May 2020 21:33:36 +0000 (21:33 +0000)
4540: More snippets r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
crates/rust-analyzer/src/main_loop/handlers.rs

index 4ff8fa69e92b916ca12bb9d1c0f443fb82fd0f8a..be6a0aece93bc77fa9acc1dd0f3253cec170718d 100644 (file)
@@ -802,11 +802,11 @@ pub fn handle_code_lens(
         for runnable in world.analysis().runnables(file_id)? {
             let (run_title, debugee) = match &runnable.kind {
                 RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => {
-                    ("▶️\u{fe0e}Run Test", true)
+                    ("▶\u{fe0e} Run Test", true)
                 }
                 RunnableKind::DocTest { .. } => {
                     // cargo does not support -no-run for doctests
-                    ("▶️\u{fe0e}Run Doctest", false)
+                    ("▶\u{fe0e} Run Doctest", false)
                 }
                 RunnableKind::Bench { .. } => {
                     // Nothing wrong with bench debugging