Make clippy happy (needless-return, etc.)
This commit is contained in:
parent
1a940b6e05
commit
231c6032f4
7 changed files with 19 additions and 17 deletions
|
|
@ -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 {
|
||||
"?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue