diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-06-16 15:35:49 +0200 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-06-16 15:35:49 +0200 |
| commit | 9baade2a5d9fec54fe4d88216fbdb91c154ad348 (patch) | |
| tree | e4bee7605f2c2738574ad7d7a671c8b843bf53b5 /src/utils.rs | |
| parent | 768fcc68af3cc57f52ac7117cbf325479836159a (diff) | |
| download | frippy-9baade2a5d9fec54fe4d88216fbdb91c154ad348.tar.gz frippy-9baade2a5d9fec54fe4d88216fbdb91c154ad348.zip | |
Fix clippy warnings
Diffstat (limited to 'src/utils.rs')
| -rw-r--r-- | src/utils.rs | 5 |
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() }; |
