From 5ac9ae56b324d3bfd571dcbf834bc8e1827991d8 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 17 Oct 2025 14:39:25 +0200 Subject: [PATCH] Run cargo fmt --- .../desktop_native/ssh_agent/src/protocol/types.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs b/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs index bc89615a992..397e1c7ca69 100644 --- a/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs +++ b/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs @@ -363,8 +363,12 @@ impl PublicKey { pub fn try_from_blob(blob: Vec) -> Result { // Parse the blob to extract the algorithm let mut bytes = &blob[..]; - let alg = String::from_utf8_lossy(read_bytes(&mut bytes) - .map_err(|e| anyhow::anyhow!("Failed to read algorithm from blob: {e}"))?.as_slice()).to_string(); + let alg = String::from_utf8_lossy( + read_bytes(&mut bytes) + .map_err(|e| anyhow::anyhow!("Failed to read algorithm from blob: {e}"))? + .as_slice(), + ) + .to_string(); Ok(PublicKey { alg, blob }) } }