Browse Source

Fix clippy::single_char_pattern

merge-requests/23/head
Valkum 5 years ago committed by Rudi Floren
parent
commit
85b8f1b7cb
  1. 2
      src/appservice_server.rs

2
src/appservice_server.rs

@ -25,7 +25,7 @@ where
let mut parts = http_request.uri().clone().into_parts(); let mut parts = http_request.uri().clone().into_parts();
let old_path_and_query = parts.path_and_query.unwrap().as_str().to_owned(); 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 { } else {
"?" "?"

Loading…
Cancel
Save