We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1df1069 commit f1b1dedCopy full SHA for f1b1ded
src/env.rs
@@ -49,6 +49,8 @@ pub unsafe fn clearenv() -> std::result::Result<(), ClearEnvError> {
49
} else {
50
use std::env;
51
for (name, _) in env::vars_os() {
52
+ // Ignore the lint due to Rust bug: https://github.com/rust-lang/rust/issues/125875
53
+ #[allow(unsafe_op_in_unsafe_fn)]
54
env::remove_var(name);
55
}
56
let ret = 0;
0 commit comments