Fix clippy warnings remove unused imports

This commit is contained in:
Devin Ragotzy
2021-01-05 09:21:41 -05:00
parent 63af3d3da0
commit cdeb1236a2
7 changed files with 39 additions and 34 deletions

View File

@@ -25,7 +25,7 @@ where
let mut parts = http_request.uri().clone().into_parts();
let old_path_and_query = parts.path_and_query.unwrap().as_str().to_owned();
let symbol = if old_path_and_query.contains("?") {
let symbol = if old_path_and_query.contains('?') {
"&"
} else {
"?"