diff options
author | Bert Belder <bertbelder@gmail.com> | 2020-09-15 00:05:17 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2020-09-15 00:11:20 +0200 |
commit | 3da20d19a14ab6838897d281f1b11e49d68bd1a7 (patch) | |
tree | 8ff3de14753efbece84691af8ce554ec0d5241a2 /cli/http_cache.rs | |
parent | 5248a711fff3b48d89c2a5c579c6e774c47510ad (diff) |
chore: fix clippy warnings (#7476)
Diffstat (limited to 'cli/http_cache.rs')
-rw-r--r-- | cli/http_cache.rs | 2 |
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 |