Apply clippy suggestion.

Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
Edu4rdSHL 2022-03-16 10:49:37 -05:00
parent 83c75b753b
commit bb030e266b
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5

View file

@ -8,7 +8,7 @@ pub fn sanitize_target_string(target: String) -> String {
.replace("www.", "") .replace("www.", "")
.replace("https://", "") .replace("https://", "")
.replace("http://", "") .replace("http://", "")
.replace("/", "") .replace('/', "")
} }
pub fn return_matches_vec(matches: &clap::ArgMatches, value: &str) -> Vec<String> { pub fn return_matches_vec(matches: &clap::ArgMatches, value: &str) -> Vec<String> {