From 769fb5fe97ac321ba030ac8fbf7e3793700f282c Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Mon, 23 Jan 2023 21:51:34 +0800 Subject: Make clippy happy on Windows (#5644) --- helix-view/src/editor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-view') diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 9af8e4c3..eef4a3f9 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -296,10 +296,10 @@ pub fn get_terminal_provider() -> Option { }); } - return Some(TerminalConfig { + Some(TerminalConfig { command: "conhost".to_string(), args: vec!["cmd".to_string(), "/C".to_string()], - }); + }) } #[cfg(not(any(windows, target_os = "wasm32")))] -- cgit v1.2.3-70-g09d2