fix(clippy): suppress unused lint on windows (#12107)

This commit is contained in:
RoloEdits 2024-11-22 06:10:11 -08:00 committed by GitHub
parent 46ffec3fd4
commit cbbeca6c52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}`",)