From 7a0e7708be2657e4e75701b254a0b2235a876c55 Mon Sep 17 00:00:00 2001 From: James Wykeham-Martin Date: Fri, 2 Feb 2018 10:43:20 +0000 Subject: [PATCH] formatted --- hammond-downloader/src/downloader.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hammond-downloader/src/downloader.rs b/hammond-downloader/src/downloader.rs index 2176922..3a04db6 100644 --- a/hammond-downloader/src/downloader.rs +++ b/hammond-downloader/src/downloader.rs @@ -51,8 +51,11 @@ fn download_into( attempt.follow() } }); - - let client = reqwest::Client::builder().redirect(policy).referer(false).build()?; + + let client = reqwest::Client::builder() + .redirect(policy) + .referer(false) + .build()?; let mut resp = client.get(url).send()?; info!("Status Resp: {}", resp.status());