From cf9669f276dc223323d526d3dcf7c1bbc67a3922 Mon Sep 17 00:00:00 2001 From: wongjiahau Date: Mon, 27 Mar 2023 08:54:03 +0800 Subject: [PATCH] fix(ci): clippy error --- helix-term/src/ui/explorer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/explorer.rs b/helix-term/src/ui/explorer.rs index 22d41192..76c43751 100644 --- a/helix-term/src/ui/explorer.rs +++ b/helix-term/src/ui/explorer.rs @@ -1010,7 +1010,7 @@ mod test_explorer { s.replace('/', format!("{}", std::path::MAIN_SEPARATOR).as_str()) } assert_eq!( - to_forward_slash(&prompt.prompt()), + to_forward_slash(prompt.prompt()), " New file or folder (ends with '/'): " ); assert_eq!(to_forward_slash(prompt.line()), "test_explorer/new_folder/");