Unnamed repository; edit this file 'description' to name the repository.
fix(clippy): suppress `unused` lint on windows (#12107)
RoloEdits 2024-11-22
parent 46ffec3 · commit cbbeca6
-rw-r--r--helix-term/src/handlers/completion/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/handlers/completion/path.rs b/helix-term/src/handlers/completion/path.rs
index b7b60507..e92be51c 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}`",)