about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorfleetingbytes <7075397+fleetingbytes@users.noreply.github.com>2023-04-03 17:13:30 +0200
committerGitHub <noreply@github.com>2023-04-03 17:13:30 +0200
commit5618c8efd7925b6f1b5d8e5b30228f065606e841 (patch)
tree9d9ca67e6ebcaada92bd2ea44abbfc8d23d9df6b /library/std
parentc252f0d4044876509e08be27f82dbf0f33bc5cc2 (diff)
downloadrust-5618c8efd7925b6f1b5d8e5b30228f065606e841.tar.gz
rust-5618c8efd7925b6f1b5d8e5b30228f065606e841.zip
remove self-reference in var_os doc
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/env.rs1
1 files changed, 0 insertions, 1 deletions
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<String, VarError> {
 ///  - 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,