remove self-reference in var_os doc

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
This commit is contained in:
fleetingbytes 2023-04-03 17:13:30 +02:00 committed by GitHub
parent c252f0d404
commit 5618c8efd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,