diff options
-rw-r--r-- | src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index 3e12e7a..ef119b3 100644 --- a/src/args.rs +++ b/src/args.rs @@ -28,7 +28,7 @@ pub fn parse() -> CommandLineOptions { let shell = matches .get_one::<String>("prompt-escape") - .map(|s| colors::ShellType::from_str(&s)) + .map(|s| colors::ShellType::from_str(s)) .unwrap_or(colors::ShellType::Unknown); let error_code = matches.get_one::<u8>("error-code").copied().unwrap_or(0); |