@@ -117,7 +117,7 @@ pub trait OpenOptionsExt {
117
117
/// let file = OpenOptions::new().access_mode(0).open("foo.txt");
118
118
/// ```
119
119
///
120
- /// [`CreateFile`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/aa363858.aspx
120
+ /// [`CreateFile`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
121
121
#[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
122
122
fn access_mode ( & mut self , access : u32 ) -> & mut Self ;
123
123
@@ -145,7 +145,7 @@ pub trait OpenOptionsExt {
145
145
/// .open("foo.txt");
146
146
/// ```
147
147
///
148
- /// [`CreateFile`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/aa363858.aspx
148
+ /// [`CreateFile`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
149
149
#[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
150
150
fn share_mode ( & mut self , val : u32 ) -> & mut Self ;
151
151
@@ -174,8 +174,8 @@ pub trait OpenOptionsExt {
174
174
/// .open("foo.txt");
175
175
/// ```
176
176
///
177
- /// [`CreateFile`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/aa363858.aspx
178
- /// [`CreateFile2`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/hh449422.aspx
177
+ /// [`CreateFile`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
178
+ /// [`CreateFile2`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2
179
179
#[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
180
180
fn custom_flags ( & mut self , flags : u32 ) -> & mut Self ;
181
181
@@ -211,8 +211,8 @@ pub trait OpenOptionsExt {
211
211
/// .open("foo.txt");
212
212
/// ```
213
213
///
214
- /// [`CreateFile`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/aa363858.aspx
215
- /// [`CreateFile2`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/hh449422.aspx
214
+ /// [`CreateFile`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
215
+ /// [`CreateFile2`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2
216
216
#[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
217
217
fn attributes ( & mut self , val : u32 ) -> & mut Self ;
218
218
@@ -254,10 +254,10 @@ pub trait OpenOptionsExt {
254
254
/// .open(r"\\.\pipe\MyPipe");
255
255
/// ```
256
256
///
257
- /// [`CreateFile`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/aa363858.aspx
258
- /// [`CreateFile2`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/hh449422.aspx
257
+ /// [`CreateFile`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
258
+ /// [`CreateFile2`]: https://docs .microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2
259
259
/// [Impersonation Levels]:
260
- /// https://msdn .microsoft.com/en-us/library/ windows/desktop/aa379572.aspx
260
+ /// https://docs .microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level
261
261
#[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
262
262
fn security_qos_flags ( & mut self , flags : u32 ) -> & mut OpenOptions ;
263
263
}
@@ -297,7 +297,7 @@ impl OpenOptionsExt for OpenOptions {
297
297
///
298
298
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
299
299
/// [`BY_HANDLE_FILE_INFORMATION`]:
300
- /// https://msdn .microsoft.com/en-us/library/ windows/desktop/aa363788.aspx
300
+ /// https://docs .microsoft.com/en-us/windows/win32/api/fileapi/ns-fileapi-by_handle_file_information
301
301
#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
302
302
pub trait MetadataExt {
303
303
/// Returns the value of the `dwFileAttributes` field of this metadata.
@@ -321,7 +321,7 @@ pub trait MetadataExt {
321
321
/// ```
322
322
///
323
323
/// [File Attribute Constants]:
324
- /// https://msdn .microsoft.com/en-us/library/ windows/desktop/gg258117.aspx
324
+ /// https://docs .microsoft.com/en-us/windows/win32/fileio/file-attribute-constants
325
325
#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
326
326
fn file_attributes ( & self ) -> u32 ;
327
327
@@ -350,7 +350,7 @@ pub trait MetadataExt {
350
350
/// }
351
351
/// ```
352
352
///
353
- /// [`FILETIME`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/ms724284.aspx
353
+ /// [`FILETIME`]: https://docs .microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime
354
354
#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
355
355
fn creation_time ( & self ) -> u64 ;
356
356
@@ -385,7 +385,7 @@ pub trait MetadataExt {
385
385
/// }
386
386
/// ```
387
387
///
388
- /// [`FILETIME`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/ms724284.aspx
388
+ /// [`FILETIME`]: https://docs .microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime
389
389
#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
390
390
fn last_access_time ( & self ) -> u64 ;
391
391
@@ -418,7 +418,7 @@ pub trait MetadataExt {
418
418
/// }
419
419
/// ```
420
420
///
421
- /// [`FILETIME`]: https://msdn .microsoft.com/en-us/library/ windows/desktop/ms724284.aspx
421
+ /// [`FILETIME`]: https://docs .microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime
422
422
#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
423
423
fn last_write_time ( & self ) -> u64 ;
424
424
0 commit comments