Rollup merge of #71784 - Xaeroxe:patch-1, r=jonas-schievink

Remove recommendation for unmaintained dirs crate

See #71684 for reasoning here
This commit is contained in:
Dylan DPC 2020-05-02 18:27:43 +02:00 committed by GitHub
commit 94d2fd9205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,7 +567,7 @@ impl Error for JoinPathsError {
#[rustc_deprecated(
since = "1.29.0",
reason = "This function's behavior is unexpected and probably not what you want. \
Consider using the home_dir function from https://crates.io/crates/dirs instead."
Consider using a crate from crates.io instead."
)]
#[stable(feature = "env", since = "1.0.0")]
pub fn home_dir() -> Option<PathBuf> {