diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-08-18 23:41:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-18 23:41:47 -0500 |
| commit | 332ab61d29917da8c5d59b3c2528b6c1a6da0b51 (patch) | |
| tree | 8d327db441817a01272ae2c049f06edd279e532a /compiler/rustc_pattern_analysis/src | |
| parent | 5044b20028ee237d2377e8d5b88dbf617f7be6d4 (diff) | |
| parent | b0023f5a417374aad980422b3f437f133676d4ef (diff) | |
| download | rust-332ab61d29917da8c5d59b3c2528b6c1a6da0b51.tar.gz rust-332ab61d29917da8c5d59b3c2528b6c1a6da0b51.zip | |
Rollup merge of #128902 - evanj:evan.jones/env-var-doc, r=workingjubilee
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.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
