Skip to content

Commit

Permalink
Fix "warning: field is never read"
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Jun 15, 2022
1 parent 50b06fa commit e0538b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pub struct Docker {
/// http client
client: HyperClient,
/// connection protocol
#[allow(dead_code)]
protocol: Protocol,
/// http headers used for any requests
headers: HeaderMap,
Expand Down
1 change: 1 addition & 0 deletions src/hyper_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub struct Response {
pub status: StatusCode,
buf: Vec<u8>,
rx: futures::channel::mpsc::UnboundedReceiver<hyper::body::Bytes>,
#[allow(dead_code)]
handle: std::thread::JoinHandle<()>,
}

Expand Down

0 comments on commit e0538b3

Please sign in to comment.