Skip to content

Commit 7066b8e

Browse files
committed
Shorten main thread name
1 parent 88024c7 commit 7066b8e

File tree

1 file changed

+2
-4
lines changed
  • crates/rust-analyzer/src/bin

1 file changed

+2
-4
lines changed

crates/rust-analyzer/src/bin/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,10 @@ fn try_main() -> Result<()> {
7777
println!("{}", flags::RustAnalyzer::HELP);
7878
return Ok(());
7979
}
80-
with_extra_thread("rust-analyzer server thread", run_server)?;
80+
with_extra_thread("LspServer", run_server)?;
8181
}
8282
flags::RustAnalyzerCmd::ProcMacro(flags::ProcMacro) => {
83-
with_extra_thread("rust-analyzer proc-macro expander", || {
84-
proc_macro_srv::cli::run().map_err(Into::into)
85-
})?;
83+
with_extra_thread("MacroExpander", || proc_macro_srv::cli::run().map_err(Into::into))?;
8684
}
8785
flags::RustAnalyzerCmd::Parse(cmd) => cmd.run()?,
8886
flags::RustAnalyzerCmd::Symbols(cmd) => cmd.run()?,

0 commit comments

Comments
 (0)