Skip to content

Commit d2f590a

Browse files
authored
unsupported: Use unsupported() for set_times_nofollow
1 parent f8118d8 commit d2f590a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/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)