Skip to content

Commit f8118d8

Browse files
authored
unsupported: Use unsupported() for set_times
1 parent 901366a commit f8118d8

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
@@ -312,8 +312,8 @@ pub fn set_perm(_p: &Path, perm: FilePermissions) -> io::Result<()> {
312312
match perm.0 {}
313313
}
314314

315-
pub fn set_times(_p: &Path, times: FileTimes) -> io::Result<()> {
316-
match times {}
315+
pub fn set_times(_p: &Path, _times: FileTimes) -> io::Result<()> {
316+
unsupported()
317317
}
318318

319319
pub fn set_times_nofollow(_p: &Path, times: FileTimes) -> io::Result<()> {

0 commit comments

Comments
 (0)