From bb030e266b37333ca13d0233713267d778b7c757 Mon Sep 17 00:00:00 2001 From: Edu4rdSHL Date: Wed, 16 Mar 2022 10:49:37 -0500 Subject: [PATCH] Apply clippy suggestion. Signed-off-by: Edu4rdSHL --- src/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.rs b/src/misc.rs index 6c0bc2a..3039384 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -8,7 +8,7 @@ pub fn sanitize_target_string(target: String) -> String { .replace("www.", "") .replace("https://", "") .replace("http://", "") - .replace("/", "") + .replace('/', "") } pub fn return_matches_vec(matches: &clap::ArgMatches, value: &str) -> Vec {