mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
style: simplify string interpolation
This commit is contained in:
parent
b32f181f47
commit
7c34eb3880
43 changed files with 71 additions and 78 deletions
|
@ -50,8 +50,7 @@ impl ProcMacroProcessSrv {
|
|||
Ok(v) if v > CURRENT_API_VERSION => Err(io::Error::new(
|
||||
io::ErrorKind::Other,
|
||||
format!(
|
||||
"proc-macro server's api version ({}) is newer than rust-analyzer's ({})",
|
||||
v, CURRENT_API_VERSION
|
||||
"proc-macro server's api version ({v}) is newer than rust-analyzer's ({CURRENT_API_VERSION})"
|
||||
),
|
||||
)),
|
||||
Ok(v) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue