Skip to content

Commit 2c752bc

Browse files
committed
Undeprecate env::home_dir
1 parent 28b83ee commit 2c752bc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/std/src/env.rs

-5
Original file line numberDiff line numberDiff line change
@@ -641,11 +641,6 @@ impl Error for JoinPathsError {
641641
/// None => println!("Impossible to get your home dir!"),
642642
/// }
643643
/// ```
644-
#[deprecated(
645-
since = "1.29.0",
646-
note = "This function's behavior may be unexpected on Windows. \
647-
Consider using a crate from crates.io instead."
648-
)]
649644
#[must_use]
650645
#[stable(feature = "env", since = "1.0.0")]
651646
pub fn home_dir() -> Option<PathBuf> {

0 commit comments

Comments
 (0)