mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
style: simplify string interpolation
This commit is contained in:
parent
b32f181f47
commit
7c34eb3880
43 changed files with 71 additions and 78 deletions
|
@ -450,7 +450,7 @@ impl MiniCore {
|
|||
}
|
||||
|
||||
if !active_regions.is_empty() {
|
||||
panic!("unclosed regions: {:?} Add an `endregion` comment", active_regions);
|
||||
panic!("unclosed regions: {active_regions:?} Add an `endregion` comment");
|
||||
}
|
||||
|
||||
for flag in &self.valid_flags {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue