Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7499d6c

Browse files
authoredMar 1, 2024··
Unrolled build for rust-lang#121809
Rollup merge of rust-lang#121809 - tgross35:suggest-path-split-fixup, r=Amanieu 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).
2 parents 878c8a2 + 582ad49 commit 7499d6c

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)
Please sign in to comment.