From c5114d3df2c7c1871b8579b324fd4c3ccb47b089 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Aug 2021 02:00:30 +0100 Subject: [PATCH] some done todos Signed-off-by: Ian Jackson --- src/bin/client.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bin/client.rs b/src/bin/client.rs index d959312..7f61851 100644 --- a/src/bin/client.rs +++ b/src/bin/client.rs @@ -137,7 +137,6 @@ fn submit_request<'r, 'c:'r, C:HCC>( .context("HTTP error fetching response body")?; if ! status.is_success() { - // xxx get body and log it throw!(anyhow!("HTTP error status={} body={:?}", &status, String::from_utf8_lossy(&resp))); } @@ -155,9 +154,6 @@ fn submit_request<'r, 'c:'r, C:HCC>( reqs.push(fut); } -#[allow(unused_variables)] // xxx -#[allow(unused_mut)] // xxx -#[allow(dead_code)] // xxx async fn run_client( ic: InstanceConfig, hclient: Arc> -- 2.30.2