From 54bba7e02a2862b59442c5dcff458722bef24884 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 13 Jan 2026 13:57:46 -0600 Subject: [PATCH] Format code with cargo fmt --- src/api_client.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api_client.rs b/src/api_client.rs index 47781a0..84c507c 100644 --- a/src/api_client.rs +++ b/src/api_client.rs @@ -164,8 +164,10 @@ impl ApiClient { .read_to_end(&mut bytes) .map_err(|e| ApiError::RequestFailed(e.to_string()))?; - let _heartbeat_response = agent::HeartbeatResponse::decode(&bytes[..]) - .map_err(|e| ApiError::RequestFailed(format!("Heartbeat response decode error: {}", e)))?; + let _heartbeat_response = + agent::HeartbeatResponse::decode(&bytes[..]).map_err(|e| { + ApiError::RequestFailed(format!("Heartbeat response decode error: {}", e)) + })?; Ok(()) })