Skip to content

Commit

Permalink
Remove doc aliases to PATH
Browse files Browse the repository at this point in the history
Remove aliases for `split_paths` and `join_paths` as should have been
done in <rust-lang#119748> (Bors merged the
wrong commit).
  • Loading branch information
tgross35 committed Feb 29, 2024
1 parent 1a1876c commit 582ad49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/std/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ pub struct SplitPaths<'a> {
/// None => println!("{key} is not defined in the environment.")
/// }
/// ```
#[doc(alias = "PATH")]
#[stable(feature = "env", since = "1.0.0")]
pub fn split_paths<T: AsRef<OsStr> + ?Sized>(unparsed: &T) -> SplitPaths<'_> {
SplitPaths { inner: os_imp::split_paths(unparsed.as_ref()) }
Expand Down Expand Up @@ -565,7 +564,6 @@ pub struct JoinPathsError {
/// ```
///
/// [`env::split_paths()`]: split_paths
#[doc(alias = "PATH")]
#[stable(feature = "env", since = "1.0.0")]
pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError>
where
Expand Down

0 comments on commit 582ad49

Please sign in to comment.