diff options
| author | bors <bors@rust-lang.org> | 2019-12-28 09:19:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-28 09:19:26 +0000 |
| commit | f564c4db0d97eabd7fdd72e589d3e415790ee2a4 (patch) | |
| tree | 8882344529a8b0a82b59364b569912c0c34fb45b /src/libstd/env.rs | |
| parent | 8b4d22cb25bd49ac29eaa2960b559b7eee06d197 (diff) | |
| parent | 3a2ef17194d7bfe56e75a3504327b38bcad979ef (diff) | |
| download | rust-f564c4db0d97eabd7fdd72e589d3e415790ee2a4.tar.gz rust-f564c4db0d97eabd7fdd72e589d3e415790ee2a4.zip | |
Auto merge of #67605 - lzutao:msdn-links, r=Mark-Simulacrum
tidy: change msdn links to newer locations see accouncement at https://docs.microsoft.com/welcome-to-docs The script that I used: https://gist.github.com/lzutao/1449c9210ad91899841d62e0058d2caa
Diffstat (limited to 'src/libstd/env.rs')
| -rw-r--r-- | src/libstd/env.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 52eebcfcb94..60facd9f8d4 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -552,7 +552,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 /// @@ -591,7 +591,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; |
