diff options
| author | Arlo Siemsen <arsiem@microsoft.com> | 2025-02-20 11:47:14 -0600 |
|---|---|---|
| committer | Arlo Siemsen <arsiem@microsoft.com> | 2025-02-20 11:47:14 -0600 |
| commit | 2c752bcf559975995eb8086a7fa6a7f9b5ba0de8 (patch) | |
| tree | 2fd38a053273484b45f80f0428af5c62a91b65c8 | |
| parent | 28b83ee59698ae069f5355b8e03f976406f410f5 (diff) | |
| download | rust-2c752bcf559975995eb8086a7fa6a7f9b5ba0de8.tar.gz rust-2c752bcf559975995eb8086a7fa6a7f9b5ba0de8.zip | |
Undeprecate env::home_dir
| -rw-r--r-- | library/std/src/env.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs index adbd6889624..5a931b077cd 100644 --- a/library/std/src/env.rs +++ b/library/std/src/env.rs @@ -641,11 +641,6 @@ impl Error for JoinPathsError { /// None => println!("Impossible to get your home dir!"), /// } /// ``` -#[deprecated( - since = "1.29.0", - note = "This function's behavior may be unexpected on Windows. \ - Consider using a crate from crates.io instead." -)] #[must_use] #[stable(feature = "env", since = "1.0.0")] pub fn home_dir() -> Option<PathBuf> { |
