Skip to content

Commit 1dd5641

Browse files
add doc alias for set_times_nofollow
Co-authored-by: Josh Triplett <[email protected]>
1 parent 2438df7 commit 1dd5641

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/std/src/fs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ pub fn set_times<P: AsRef<Path>>(path: P, times: FileTimes) -> io::Result<()> {
458458
/// }
459459
/// ```
460460
#[unstable(feature = "fs_set_times", issue = "147455")]
461+
#[doc(alias = "utimensat")]
462+
#[doc(alias = "lutimens")]
463+
#[doc(alias = "lutimes")]
461464
pub fn set_times_nofollow<P: AsRef<Path>>(path: P, times: FileTimes) -> io::Result<()> {
462465
fs_imp::set_times_nofollow(path.as_ref(), times.0)
463466
}

0 commit comments

Comments
 (0)