mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +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:
@@ -566,7 +566,7 @@ async fn process_socket(
|
||||
{
|
||||
debug!(log, "closing socket reader: {}", e);
|
||||
socket_tx
|
||||
.send(SocketSignal::CloseWith(CloseReason(format!("{}", e))))
|
||||
.send(SocketSignal::CloseWith(CloseReason(format!("{e}"))))
|
||||
.await
|
||||
.ok();
|
||||
}
|
||||
@@ -1192,7 +1192,7 @@ async fn handle_acquire_cli(
|
||||
|
||||
let release = match params.commit_id {
|
||||
Some(commit) => Release {
|
||||
name: format!("{} CLI", PRODUCT_NAME_LONG),
|
||||
name: format!("{PRODUCT_NAME_LONG} CLI"),
|
||||
commit,
|
||||
platform: params.platform,
|
||||
quality: params.quality,
|
||||
|
||||
Reference in New Issue
Block a user