Update library/std/src/fs.rs
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
parent
722545427f
commit
3d40fa6958
1 changed files with 3 additions and 2 deletions
|
|
@ -432,8 +432,9 @@ pub fn set_times<P: AsRef<Path>>(path: P, times: FileTimes) -> io::Result<()> {
|
|||
///
|
||||
/// # Platform-specific behavior
|
||||
///
|
||||
/// This function currently corresponds to the `utimensat` function with `AT_SYMLINK_NOFOLLOW`
|
||||
/// on Unix platforms and the `SetFileTime` function on Windows after opening the symlink.
|
||||
/// This function currently corresponds to the `utimensat` function with `AT_SYMLINK_NOFOLLOW` on
|
||||
/// Unix platforms, the `setattrlist` function with `FSOPT_NOFOLLOW` on Apple platforms, and the
|
||||
/// `SetFileTime` function on Windows.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue