Skip to content

Commit

Permalink
fix(clippy): suppress unused lint on windows (helix-editor#12107)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits authored and GladkihEgor committed Jan 4, 2025
1 parent 9c245da commit b3a845c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/handlers/completion/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}`",)
Expand Down

0 comments on commit b3a845c

Please sign in to comment.