fix(clippy): suppress unused
lint on windows (#12107)
This commit is contained in:
parent
46ffec3fd4
commit
cbbeca6c52
1 changed files with 1 additions and 1 deletions
|
@ -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}`",)
|
||||
|
|
Loading…
Reference in a new issue