about summary refs log tree commit diff
path: root/library/std/src/env.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-19 06:59:32 +0000
committerbors <bors@rust-lang.org>2024-02-19 06:59:32 +0000
commit010f029c905ffeb01ad88288b2cf50efe65b23ae (patch)
treecf3e5436c033a6b38daa21eb498b7f53d417936c /library/std/src/env.rs
parent90fccaad801a929fc482dbbeca0231aa197de7c7 (diff)
parente118c3e8af2ee5c0d20d21e8bf08c1a254a317fb (diff)
Auto merge of #3306 - rust-lang:rustup-2024-02-19, r=RalfJung
Automatic Rustup
Diffstat (limited to 'library/std/src/env.rs')
-rw-r--r--library/std/src/env.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs
index 30ac0512348..5bd20ebe208 100644
--- a/library/std/src/env.rs
+++ b/library/std/src/env.rs
@@ -78,7 +78,7 @@ pub fn current_dir() -> io::Result<PathBuf> {
 /// assert!(env::set_current_dir(&root).is_ok());
 /// println!("Successfully changed working directory to {}!", root.display());
 /// ```
-#[doc(alias = "chdir")]
+#[doc(alias = "chdir", alias = "SetCurrentDirectory", alias = "SetCurrentDirectoryW")]
 #[stable(feature = "env", since = "1.0.0")]
 pub fn set_current_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
     os_imp::chdir(path.as_ref())
@@ -655,6 +655,7 @@ pub fn home_dir() -> Option<PathBuf> {
 /// }
 /// ```
 #[must_use]
+#[doc(alias = "GetTempPath", alias = "GetTempPath2")]
 #[stable(feature = "env", since = "1.0.0")]
 pub fn temp_dir() -> PathBuf {
     os_imp::temp_dir()