diff options
| author | Aris Merchant <22333129+inquisitivecrystal@users.noreply.github.com> | 2021-06-09 00:40:31 -0700 |
|---|---|---|
| committer | Aris Merchant <22333129+inquisitivecrystal@users.noreply.github.com> | 2021-07-05 22:13:38 -0700 |
| commit | f2c0f29248fa6f6d2c8d71fdfa2dfb86088dc4c7 (patch) | |
| tree | 34379bc05439a360e054954946625e22dc8b2aa0 /library/std/src/sys/unix/alloc.rs | |
| parent | d5a406bb665213a0ceb6980921a39617d35a2e2d (diff) | |
| download | rust-f2c0f29248fa6f6d2c8d71fdfa2dfb86088dc4c7.tar.gz rust-f2c0f29248fa6f6d2c8d71fdfa2dfb86088dc4c7.zip | |
Change env var getters to error recoverably
Before this, `std`'s env var getter functions would panic on receiving certain invalid inputs. This commit makes them return a `None` or `Err` instead.
Diffstat (limited to 'library/std/src/sys/unix/alloc.rs')
0 files changed, 0 insertions, 0 deletions
