@@ -191,7 +191,7 @@ pub trait MetadataExt {
191
191
/// ```
192
192
#[ stable( feature = "metadata_ext2" , since = "1.8.0" ) ]
193
193
fn st_size ( & self ) -> u64 ;
194
- /// Returns the last access time.
194
+ /// Returns the last access time of the file, in seconds since Unix Epoch .
195
195
///
196
196
/// # Examples
197
197
///
@@ -208,7 +208,9 @@ pub trait MetadataExt {
208
208
/// ```
209
209
#[ stable( feature = "metadata_ext2" , since = "1.8.0" ) ]
210
210
fn st_atime ( & self ) -> i64 ;
211
- /// Returns the last access time, nano seconds part.
211
+ /// Returns the last access time of the file, in nanoseconds since [`st_atime`].
212
+ ///
213
+ /// [`st_atime`]: #tymethod.st_atime
212
214
///
213
215
/// # Examples
214
216
///
@@ -225,7 +227,7 @@ pub trait MetadataExt {
225
227
/// ```
226
228
#[ stable( feature = "metadata_ext2" , since = "1.8.0" ) ]
227
229
fn st_atime_nsec ( & self ) -> i64 ;
228
- /// Returns the last modification time.
230
+ /// Returns the last modification time of the file, in seconds since Unix Epoch .
229
231
///
230
232
/// # Examples
231
233
///
@@ -242,7 +244,9 @@ pub trait MetadataExt {
242
244
/// ```
243
245
#[ stable( feature = "metadata_ext2" , since = "1.8.0" ) ]
244
246
fn st_mtime ( & self ) -> i64 ;
245
- /// Returns the last modification time, nano seconds part.
247
+ /// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
248
+ ///
249
+ /// [`st_mtime`]: #tymethod.st_mtime
246
250
///
247
251
/// # Examples
248
252
///
@@ -259,7 +263,7 @@ pub trait MetadataExt {
259
263
/// ```
260
264
#[ stable( feature = "metadata_ext2" , since = "1.8.0" ) ]
261
265
fn st_mtime_nsec ( & self ) -> i64 ;
262
- /// Returns the last status change time.
266
+ /// Returns the last status change time of the file, in seconds since Unix Epoch .
263
267
///
264
268
/// # Examples
265
269
///
@@ -276,7 +280,9 @@ pub trait MetadataExt {
276
280
/// ```
277
281
#[ stable( feature = "metadata_ext2" , since = "1.8.0" ) ]
278
282
fn st_ctime ( & self ) -> i64 ;
279
- /// Returns the last status change time, nano seconds part.
283
+ /// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
284
+ ///
285
+ /// [`st_ctime`]: #tymethod.st_ctime
280
286
///
281
287
/// # Examples
282
288
///
0 commit comments