cargo fmt

This commit is contained in:
BenjaminBrienen 2025-03-10 12:42:27 +01:00
parent 87f837cec7
commit 7535bb4661
571 changed files with 2210 additions and 2458 deletions

View file

@ -14,7 +14,9 @@ use main_loop::run;
fn main() -> std::io::Result<()> {
let v = std::env::var("RUST_ANALYZER_INTERNALS_DO_NOT_USE");
if v.is_err() {
eprintln!("This is an IDE implementation detail, you can use this tool by exporting RUST_ANALYZER_INTERNALS_DO_NOT_USE.");
eprintln!(
"This is an IDE implementation detail, you can use this tool by exporting RUST_ANALYZER_INTERNALS_DO_NOT_USE."
);
eprintln!(
"Note that this tool's API is highly unstable and may break without prior notice"
);

View file

@ -4,8 +4,8 @@ use std::io;
use proc_macro_api::legacy_protocol::{
json::{read_json, write_json},
msg::{
self, deserialize_span_data_index_map, serialize_span_data_index_map, ExpandMacroData,
ExpnGlobals, Message, SpanMode, TokenId, CURRENT_API_VERSION,
self, CURRENT_API_VERSION, ExpandMacroData, ExpnGlobals, Message, SpanMode, TokenId,
deserialize_span_data_index_map, serialize_span_data_index_map,
},
};
use proc_macro_srv::EnvSnapshot;