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

@@ -94,7 +94,6 @@ pub struct Transport {
message: Option<String>,
url: Option<Url>,
source: Option<Box<dyn error::Error + Send + Sync + 'static>>,
response: Option<Response>,
}
/// Extension to [`Result<Response, Error>`] for handling all status codes as [`Response`].
@@ -193,7 +192,6 @@ impl Error {
message,
url: None,
source: None,
response: None,
})
}