std::env::var and std::env::var_os do not document panic on key containing null byte #63456
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
env::remove_var
andenv::set_var
document that they panic when the key contains a null byte, butenv::var
andenv::var_os
do not document this behavior.https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=e43934f459b10424f374f20db846f092
The text was updated successfully, but these errors were encountered: