Skip to content

Commit

Permalink
fix(clippy): suppress unused lint on windows (#12107)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits authored Nov 22, 2024
1 parent 46ffec3 commit cbbeca6
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 cbbeca6

Please sign in to comment.