about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-02-29 14:24:24 -0500
committerTrevor Gross <tmgross@umich.edu>2024-02-29 14:28:47 -0500
commit582ad492cddcebed538023d09e9a0f96493d1566 (patch)
treeffc46ff492034eab41e202d290df0d7a0e5cb591
parent1a1876c9790f168fb51afa335a7ba3e6fc267d75 (diff)
downloadrust-582ad492cddcebed538023d09e9a0f96493d1566.tar.gz
rust-582ad492cddcebed538023d09e9a0f96493d1566.zip
Remove doc aliases to PATH
Remove aliases for `split_paths` and `join_paths` as should have been
done in <https://github.com/rust-lang/rust/pull/119748> (Bors merged the
wrong commit).
-rw-r--r--library/std/src/env.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs
index 1f2b8d3007d..6f8ac17f12c 100644
--- a/library/std/src/env.rs
+++ b/library/std/src/env.rs
@@ -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()) }
@@ -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