Skip to content

Commit c7a2aa3

Browse files
authored
docs: update version notice for deprecation removal (#15511)
Thank you for always maintaining cargo. ### What does this PR try to resolve? `std::env::home_dir` is still deprecated in [v1.86.0](https://doc.rust-lang.org/1.86.0/src/std/env.rs.html#644-648). However, it has been undeprecated in the current [nightly](https://doc.rust-lang.org/nightly/src/std/env.rs.html#651). Therefore, I propose updating the notice for avoiding confusion.
2 parents c566be4 + ded3f36 commit c7a2aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/home/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use the standard library's definition - they use the definition here.
1818
environment variable on Windows. If you are still using this crate for the
1919
purpose of getting a home directory, you are strongly encouraged to switch to
2020
using the standard library's [`home_dir`] instead. It is planned to have the
21-
deprecation notice removed in 1.86.
21+
deprecation notice removed in 1.87.
2222

2323
This crate further provides two functions, `cargo_home` and
2424
`rustup_home`, which are the canonical way to determine the location

0 commit comments

Comments
 (0)