Skip to content

Commit

Permalink
revert: PR 2421 since the Rust issue has been fixed (nix-rust#2432)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Jun 8, 2024
1 parent 4dcc996 commit 667cba0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ pub unsafe fn clearenv() -> std::result::Result<(), ClearEnvError> {
} else {
use std::env;
for (name, _) in env::vars_os() {
// Ignore the lint due to Rust bug: https://github.com/rust-lang/rust/issues/125875
#[allow(unsafe_op_in_unsafe_fn)]
env::remove_var(name);
}
let ret = 0;
Expand Down

0 comments on commit 667cba0

Please sign in to comment.