Skip to content

Commit 582ad49

Browse files
committed
Remove doc aliases to PATH
Remove aliases for `split_paths` and `join_paths` as should have been done in <rust-lang#119748> (Bors merged the wrong commit).
1 parent 1a1876c commit 582ad49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/std/src/env.rs

-2
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ pub struct SplitPaths<'a> {
469469
/// None => println!("{key} is not defined in the environment.")
470470
/// }
471471
/// ```
472-
#[doc(alias = "PATH")]
473472
#[stable(feature = "env", since = "1.0.0")]
474473
pub fn split_paths<T: AsRef<OsStr> + ?Sized>(unparsed: &T) -> SplitPaths<'_> {
475474
SplitPaths { inner: os_imp::split_paths(unparsed.as_ref()) }
@@ -565,7 +564,6 @@ pub struct JoinPathsError {
565564
/// ```
566565
///
567566
/// [`env::split_paths()`]: split_paths
568-
#[doc(alias = "PATH")]
569567
#[stable(feature = "env", since = "1.0.0")]
570568
pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError>
571569
where

0 commit comments

Comments
 (0)