Remove two unused fields. (#425)

Co-authored-by: Michael Richardson <mcr@sandelman.ca>
This commit is contained in:
Jacob Hoffman-Andrews
2021-10-02 01:04:36 -07:00
committed by GitHub
parent a1d7009e24
commit 535bc4b4cb
2 changed files with 0 additions and 4 deletions

View File

@@ -30,7 +30,6 @@ pub struct Request {
agent: Agent,
method: String,
url: String,
error_on_non_2xx: bool,
headers: Vec<Header>,
timeout: Option<time::Duration>,
}
@@ -52,7 +51,6 @@ impl Request {
method,
url,
headers: vec![],
error_on_non_2xx: true,
timeout: None,
}
}