mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
format
This commit is contained in:
parent
57899d66fa
commit
76c0d0b94d
1 changed files with 3 additions and 1 deletions
|
@ -618,7 +618,9 @@ pub fn handle_code_lens(
|
|||
|
||||
for runnable in world.analysis().runnables(file_id)? {
|
||||
let title = match &runnable.kind {
|
||||
RunnableKind::Test { name: _ } | RunnableKind::TestMod { path: _ } => Some("▶️Run Test"),
|
||||
RunnableKind::Test { name: _ } | RunnableKind::TestMod { path: _ } => {
|
||||
Some("▶️Run Test")
|
||||
}
|
||||
RunnableKind::Bench { name: _ } => Some("Run Bench"),
|
||||
_ => None,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue