We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set_times
1 parent a99860b commit e597071Copy full SHA for e597071
library/std/src/fs.rs
@@ -1112,8 +1112,9 @@ impl File {
1112
/// [may change in the future][changes].
1113
///
1114
/// On most platforms, including UNIX and Windows platforms, this function can also change the
1115
- /// timestamps of a directory. To do so, open the directory with `File::open`, without
1116
- /// attempting to obtain write permission.
+ /// timestamps of a directory. To get a `File` representing a directory in order to call
+ /// `set_times`, open the directory with `File::open` without attempting to obtain write
1117
+ /// permission.
1118
1119
/// [changes]: io#platform-specific-behavior
1120
0 commit comments