mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 00:23:41 +00:00
format
This commit is contained in:
parent
57899d66fa
commit
76c0d0b94d
@ -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 New Issue
Block a user