mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 05:51:32 +01:00
style: simplify string formatting for readability (#231763)
* style: simplify string formatting for readability * fix: formatting in `.rs` files in `src/`
This commit is contained in:
@@ -70,8 +70,7 @@ impl TryFrom<&str> for Quality {
|
||||
"insiders" | "insider" => Ok(Quality::Insiders),
|
||||
"exploration" => Ok(Quality::Exploration),
|
||||
_ => Err(format!(
|
||||
"Unknown quality: {}. Must be one of stable, insiders, or exploration.",
|
||||
s
|
||||
"Unknown quality: {s}. Must be one of stable, insiders, or exploration."
|
||||
)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user