about summary refs log tree commit diff
path: root/src/libstd/env.rs
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2019-12-25 15:35:54 +0000
committerLzu Tao <taolzu@gmail.com>2019-12-25 15:35:54 +0000
commit3a2ef17194d7bfe56e75a3504327b38bcad979ef (patch)
tree1e6ca368b2a0dc2766f2b7aabc13487d662d7607 /src/libstd/env.rs
parented33453a37d602f34cc40c205f9b9b8a8aff88b5 (diff)
tidy: change msdn links to newer locations
see accouncement at https://docs.microsoft.com/welcome-to-docs
Diffstat (limited to 'src/libstd/env.rs')
-rw-r--r--src/libstd/env.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index cf71b61b917..ec5e35a060d 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -550,7 +550,7 @@ impl Error for JoinPathsError {
 ///   (including to an empty string).
 /// - If both do not exist, [`GetUserProfileDirectory`][msdn] is used to return the path.
 ///
-/// [msdn]: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762280(v=vs.85).aspx
+/// [msdn]: https://docs.microsoft.com/en-us/windows/win32/api/userenv/nf-userenv-getuserprofiledirectorya
 ///
 /// # Examples
 ///
@@ -589,7 +589,7 @@ pub fn home_dir() -> Option<PathBuf> {
 /// This behavior is identical to that of [`GetTempPath`][msdn], which this
 /// function uses internally.
 ///
-/// [msdn]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx
+/// [msdn]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettemppatha
 ///
 /// ```no_run
 /// use std::env;