Undeprecate env::home_dir
This commit is contained in:
parent
28b83ee596
commit
2c752bcf55
1 changed files with 0 additions and 5 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue