From cbbeca6c5227e65bebdbe9abbadbd2202ffc1005 Mon Sep 17 00:00:00 2001 From: RoloEdits Date: Fri, 22 Nov 2024 06:10:11 -0800 Subject: [PATCH] fix(clippy): suppress `unused` lint on windows (#12107) --- helix-term/src/handlers/completion/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/handlers/completion/path.rs b/helix-term/src/handlers/completion/path.rs index b7b605073..e92be51cf 100644 --- a/helix-term/src/handlers/completion/path.rs +++ b/helix-term/src/handlers/completion/path.rs @@ -149,7 +149,7 @@ fn path_documentation(md: &fs::Metadata, full_path: &Path, kind: &str) -> String } #[cfg(not(unix))] -fn path_documentation(md: &fs::Metadata, full_path: &Path, kind: &str) -> String { +fn path_documentation(_md: &fs::Metadata, full_path: &Path, kind: &str) -> String { let full_path = fold_home_dir(canonicalize(full_path)); let full_path_name = full_path.to_string_lossy(); format!("type: `{kind}`\nfull path: `{full_path_name}`",)