rust/library/std
Evan Jones d5a7c45966
doc: std::env::var: Returns None for names with '=' or NUL byte
The documentation incorrectly stated that std::env::var could return
an error for variable names containing '=' or the NUL byte. Copy the
correct documentation from var_os.

var_os was fixed in Commit 8a7a665, Pull Request #109894, which
closed Issue #109893.

This documentation was incorrectly added in commit f2c0f292, which
replaced a panic in var_os by returning None, but documented the
change as "May error if ...".

Reference the specific error values and link to them.
2024-08-09 14:28:31 -04:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src doc: std::env::var: Returns None for names with '=' or NUL byte 2024-08-09 14:28:31 -04:00
tests Reformat use declarations. 2024-07-29 08:26:52 +10:00
build.rs std float tests: special-case Miri in feature detection 2024-08-08 12:17:50 +02:00
Cargo.toml Update compiler-builtins version to 0.1.118 2024-08-08 14:47:49 +02:00