summaryrefslogtreecommitdiff
path: root/cli/http_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/http_cache.rs')
-rw-r--r--cli/http_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/http_cache.rs b/cli/http_cache.rs
index 240d44adb..b936d11e8 100644
--- a/cli/http_cache.rs
+++ b/cli/http_cache.rs
@@ -58,7 +58,7 @@ pub fn url_to_filename(url: &Url) -> PathBuf {
let mut rest_str = url.path().to_string();
if let Some(query) = url.query() {
- rest_str.push_str("?");
+ rest_str.push('?');
rest_str.push_str(query);
}
// NOTE: fragment is omitted on purpose - it's not taken into