Skip to content

Commit 51d5a08

Browse files
vsrsmatklad
andauthored
Better label for a runnable.
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
1 parent 20fdd14 commit 51d5a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/main_loop/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ fn to_lsp_runnable(
10201020
RunnableKind::Bench { test_id } => format!("bench {}", test_id),
10211021
RunnableKind::DocTest { test_id, .. } => format!("doctest {}", test_id),
10221022
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))
10241024
}
10251025
};
10261026
Ok(lsp_ext::Runnable {

0 commit comments

Comments
 (0)