Skip to content

Commit c259b92

Browse files
authored
unsupported: Use unsupported() for set_times_nofollow
1 parent fb23cb7 commit c259b92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/src/sys/fs/unsupported.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ pub fn set_times(_p: &Path, _times: FileTimes) -> io::Result<()> {
316316
unsupported()
317317
}
318318

319-
pub fn set_times_nofollow(_p: &Path, times: FileTimes) -> io::Result<()> {
320-
match times {}
319+
pub fn set_times_nofollow(_p: &Path, _times: FileTimes) -> io::Result<()> {
320+
unsupported()
321321
}
322322

323323
pub fn rmdir(_p: &Path) -> io::Result<()> {

0 commit comments

Comments
 (0)