aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils.rs b/src/utils.rs
index e64b329..3275e62 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -53,10 +53,7 @@ impl<'a> Url<'a> {
/// that the limit set by max_kib() was reached.
pub fn request(&self) -> Result<String, DownloadError> {
let client = if let Some(timeout) = self.timeout {
- ClientBuilder::new()
- .timeout(timeout)
- .build()
- .unwrap()
+ ClientBuilder::new().timeout(timeout).build().unwrap()
} else {
Client::new()
};