From 5618c8efd7925b6f1b5d8e5b30228f065606e841 Mon Sep 17 00:00:00 2001 From: fleetingbytes <7075397+fleetingbytes@users.noreply.github.com> Date: Mon, 3 Apr 2023 17:13:30 +0200 Subject: remove self-reference in var_os doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: León Orell Valerian Liehr --- library/std/src/env.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'library/std') diff --git a/library/std/src/env.rs b/library/std/src/env.rs index 63338bd5876..c9f8e617df6 100644 --- a/library/std/src/env.rs +++ b/library/std/src/env.rs @@ -242,7 +242,6 @@ fn _var(key: &OsStr) -> Result { /// - the environment variable's name contains /// the equal sign character (`=`) or the NUL character /// -/// If this is not desired, consider using [`var_os`]. /// /// Note that the method will not check if the environment variable /// is valid Unicode. If you want to have an error on invalid UTF-8, -- cgit 1.4.1-3-g733a5