Skip to content

Commit 667cba0

Browse files
authored
revert: PR 2421 since the Rust issue has been fixed (#2432)
1 parent 4dcc996 commit 667cba0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/env.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ pub unsafe fn clearenv() -> std::result::Result<(), ClearEnvError> {
4949
} else {
5050
use std::env;
5151
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)]
5452
env::remove_var(name);
5553
}
5654
let ret = 0;

0 commit comments

Comments
 (0)