From: Ian Jackson Date: Wed, 4 Aug 2021 01:00:30 +0000 (+0100) Subject: some done todos X-Git-Tag: hippotat/1.0.0~351 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c5114d3df2c7c1871b8579b324fd4c3ccb47b089;p=hippotat.git some done todos Signed-off-by: Ian Jackson --- 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>