@@ -117,7 +117,7 @@ pub trait OpenOptionsExt {
117117 /// let file = OpenOptions::new().access_mode(0).open("foo.txt");
118118 /// ```
119119 ///
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
121121 #[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
122122 fn access_mode ( & mut self , access : u32 ) -> & mut Self ;
123123
@@ -145,7 +145,7 @@ pub trait OpenOptionsExt {
145145 /// .open("foo.txt");
146146 /// ```
147147 ///
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
149149 #[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
150150 fn share_mode ( & mut self , val : u32 ) -> & mut Self ;
151151
@@ -174,8 +174,8 @@ pub trait OpenOptionsExt {
174174 /// .open("foo.txt");
175175 /// ```
176176 ///
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
179179 #[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
180180 fn custom_flags ( & mut self , flags : u32 ) -> & mut Self ;
181181
@@ -211,8 +211,8 @@ pub trait OpenOptionsExt {
211211 /// .open("foo.txt");
212212 /// ```
213213 ///
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
216216 #[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
217217 fn attributes ( & mut self , val : u32 ) -> & mut Self ;
218218
@@ -254,10 +254,10 @@ pub trait OpenOptionsExt {
254254 /// .open(r"\\.\pipe\MyPipe");
255255 /// ```
256256 ///
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
259259 /// [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
261261 #[ stable( feature = "open_options_ext" , since = "1.10.0" ) ]
262262 fn security_qos_flags ( & mut self , flags : u32 ) -> & mut OpenOptions ;
263263}
@@ -297,7 +297,7 @@ impl OpenOptionsExt for OpenOptions {
297297///
298298/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
299299/// [`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
301301#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
302302pub trait MetadataExt {
303303 /// Returns the value of the `dwFileAttributes` field of this metadata.
@@ -321,7 +321,7 @@ pub trait MetadataExt {
321321 /// ```
322322 ///
323323 /// [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
325325 #[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
326326 fn file_attributes ( & self ) -> u32 ;
327327
@@ -350,7 +350,7 @@ pub trait MetadataExt {
350350 /// }
351351 /// ```
352352 ///
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
354354 #[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
355355 fn creation_time ( & self ) -> u64 ;
356356
@@ -385,7 +385,7 @@ pub trait MetadataExt {
385385 /// }
386386 /// ```
387387 ///
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
389389 #[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
390390 fn last_access_time ( & self ) -> u64 ;
391391
@@ -418,7 +418,7 @@ pub trait MetadataExt {
418418 /// }
419419 /// ```
420420 ///
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
422422 #[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
423423 fn last_write_time ( & self ) -> u64 ;
424424
0 commit comments