Skip to content

Commit 3d40fa6

Browse files
Update library/std/src/fs.rs
Co-authored-by: Josh Triplett <[email protected]>
1 parent 7225454 commit 3d40fa6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

library/std/src/fs.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,9 @@ pub fn set_times<P: AsRef<Path>>(path: P, times: FileTimes) -> io::Result<()> {
432432
///
433433
/// # Platform-specific behavior
434434
///
435-
/// This function currently corresponds to the `utimensat` function with `AT_SYMLINK_NOFOLLOW`
436-
/// on Unix platforms and the `SetFileTime` function on Windows after opening the symlink.
435+
/// This function currently corresponds to the `utimensat` function with `AT_SYMLINK_NOFOLLOW` on
436+
/// Unix platforms, the `setattrlist` function with `FSOPT_NOFOLLOW` on Apple platforms, and the
437+
/// `SetFileTime` function on Windows.
437438
///
438439
/// # Errors
439440
///

0 commit comments

Comments
 (0)