diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-06 12:22:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 12:22:11 -0500 |
| commit | 978893ac40d62f0fc0d4f78e57bb9b5b194191a3 (patch) | |
| tree | c8fff9f7a5eb81c27c54b03145ae2cf5a3d0f306 /library/std/src | |
| parent | ca9f6155255b50acd1d5eb18c003a646a98d9747 (diff) | |
| parent | 2c752bcf559975995eb8086a7fa6a7f9b5ba0de8 (diff) | |
Rollup merge of #137327 - arlosi:home-dir, r=Mark-Simulacrum
Undeprecate env::home_dir #132515 fixed the implementation of `env::home_dir`, but didn't remove the deprecation. Based on [this comment](https://github.com/rust-lang/rust/pull/132515#discussion_r1829715262), libs-api decided to undeprecate in the next release. Let's do that! cc #132650
Diffstat (limited to 'library/std/src')
| -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 4a071b4e1fa..e62aeb2ede0 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> { |
