(key: &'static str)
| 7892 | } |
| 7893 | |
| 7894 | fn unset(key: &'static str) -> Self { |
| 7895 | let original = std::env::var(key).ok(); |
| 7896 | unsafe { |
| 7897 | std::env::remove_var(key); |
| 7898 | } |
| 7899 | Self { key, original } |
| 7900 | } |
| 7901 | } |
| 7902 | |
| 7903 | #[allow(unsafe_code)] |
nothing calls this directly
no outgoing calls
no test coverage detected