mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
style: simplify string interpolation
This commit is contained in:
parent
b32f181f47
commit
7c34eb3880
43 changed files with 71 additions and 78 deletions
|
@ -219,8 +219,7 @@ impl Sysroot {
|
|||
", try running `rustup component add rust-src` to possibly fix this"
|
||||
};
|
||||
sysroot.error = Some(format!(
|
||||
"sysroot at `{}` is missing a `core` library{var_note}",
|
||||
src_root,
|
||||
"sysroot at `{src_root}` is missing a `core` library{var_note}",
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue