This commit is contained in:
@ -107,7 +107,7 @@ impl Search {
|
||||
fn discriminate_search_type(input: &String) -> SearchType {
|
||||
let tamere = input.clone();
|
||||
let mut a = tamere.split(" ").collect::<Vec<&str>>();
|
||||
let y = String::from(a.pop().unwrap());
|
||||
let _y = String::from(a.pop().unwrap());
|
||||
let mut x = String::from(a.join(" ").trim());
|
||||
if x.len() > 0 {
|
||||
x.push_str(" ")
|
||||
|
Reference in New Issue
Block a user