Skip to content

Commit

Permalink
mountpoint: fix two clippy warnings on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Apr 19, 2024
1 parent 456ebb7 commit 5c033a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/uu/mountpoint/src/mountpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use clap::Arg;
use clap::{crate_version, Command};
use std::env;
#[cfg(not(windows))]
use std::fs;
#[cfg(not(windows))]
use std::os::unix::fs::MetadataExt;
Expand Down Expand Up @@ -54,7 +55,7 @@ fn is_mountpoint(path: &str) -> bool {

// TODO: implement for windows
#[cfg(windows)]
fn is_mountpoint(path: &str) -> bool {
fn is_mountpoint(_path: &str) -> bool {
false
}

Expand Down

0 comments on commit 5c033a7

Please sign in to comment.