@@ -38,8 +38,9 @@ impl TryFrom<FileTime> for i64 {
38
38
39
39
/// Converts a `FileTime` to the file time.
40
40
///
41
- /// The file time may be represented as an [`i64`] value in [WinRT],[^clock]
42
- /// [.NET],[^fromfiletime][^tofiletime] etc.
41
+ /// The file time is sometimes represented as an [`i64`] value, such as the
42
+ /// [`winrt::clock`] struct in [WinRT], or the [`DateTime.FromFileTime`]
43
+ /// method and the [`DateTime.ToFileTime`] method in [.NET].
43
44
///
44
45
/// # Errors
45
46
///
@@ -62,13 +63,10 @@ impl TryFrom<FileTime> for i64 {
62
63
/// assert!(i64::try_from(FileTime::MAX).is_err());
63
64
/// ```
64
65
///
65
- /// [^clock]: <https://learn.microsoft.com/en-us/uwp/cpp-ref-for-winrt/clock>
66
- ///
67
- /// [^fromfiletime]: <https://learn.microsoft.com/en-us/dotnet/api/system.datetime.fromfiletime>
68
- ///
69
- /// [^tofiletime]: <https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tofiletime>
70
- ///
66
+ /// [`winrt::clock`]: https://learn.microsoft.com/en-us/uwp/cpp-ref-for-winrt/clock
71
67
/// [WinRT]: https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/
68
+ /// [`DateTime.FromFileTime`]: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.fromfiletime
69
+ /// [`DateTime.ToFileTime`]: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tofiletime
72
70
/// [.NET]: https://dotnet.microsoft.com/
73
71
#[ inline]
74
72
fn try_from ( ft : FileTime ) -> Result < Self , Self :: Error > {
@@ -238,8 +236,9 @@ impl TryFrom<i64> for FileTime {
238
236
239
237
/// Converts the file time to a `FileTime`.
240
238
///
241
- /// The file time may be represented as an [`i64`] value in [WinRT],[^clock]
242
- /// [.NET],[^fromfiletime][^tofiletime] etc.
239
+ /// The file time is sometimes represented as an [`i64`] value, such as the
240
+ /// [`winrt::clock`] struct in [WinRT], or the [`DateTime.FromFileTime`]
241
+ /// method and the [`DateTime.ToFileTime`] method in [.NET].
243
242
///
244
243
/// # Errors
245
244
///
@@ -262,13 +261,10 @@ impl TryFrom<i64> for FileTime {
262
261
/// assert!(FileTime::try_from(i64::MIN).is_err());
263
262
/// ```
264
263
///
265
- /// [^clock]: <https://learn.microsoft.com/en-us/uwp/cpp-ref-for-winrt/clock>
266
- ///
267
- /// [^fromfiletime]: <https://learn.microsoft.com/en-us/dotnet/api/system.datetime.fromfiletime>
268
- ///
269
- /// [^tofiletime]: <https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tofiletime>
270
- ///
264
+ /// [`winrt::clock`]: https://learn.microsoft.com/en-us/uwp/cpp-ref-for-winrt/clock
271
265
/// [WinRT]: https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/
266
+ /// [`DateTime.FromFileTime`]: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.fromfiletime
267
+ /// [`DateTime.ToFileTime`]: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tofiletime
272
268
/// [.NET]: https://dotnet.microsoft.com/
273
269
#[ inline]
274
270
fn try_from ( ft : i64 ) -> Result < Self , Self :: Error > {
0 commit comments