From 582ad492cddcebed538023d09e9a0f96493d1566 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Thu, 29 Feb 2024 14:24:24 -0500 Subject: [PATCH] Remove doc aliases to PATH Remove aliases for `split_paths` and `join_paths` as should have been done in (Bors merged the wrong commit). --- library/std/src/env.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/std/src/env.rs b/library/std/src/env.rs index 1f2b8d3007dd9..6f8ac17f12c70 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 + ?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(paths: I) -> Result where