AsyncClient: Remove some dead code.

master
Damir Jelić 2019-11-17 19:59:50 +01:00
parent 638fa3e55d
commit f246ab2f56
1 changed files with 0 additions and 6 deletions

View File

@ -282,12 +282,6 @@ impl AsyncClient {
_ => panic!("Unsuported method"), _ => panic!("Unsuported method"),
}; };
// let request_builder = if let Some(query) = request.uri().query() {
// request_builder.query(query)
// } else {
// request_builder
// };
let request_builder = if Request::METADATA.requires_authentication { let request_builder = if Request::METADATA.requires_authentication {
let client = self.base_client.read().unwrap(); let client = self.base_client.read().unwrap();