Skip to content

Commit 4296c49

Browse files
The0x539krobelus
authored andcommitted
Remove unnecessary scoped #[allow] attributes
1 parent 4c3e814 commit 4296c49

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/env_dispatch.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,6 @@ pub fn use_posix_spawn() -> bool {
809809

810810
/// Whether or not we are running on an OS where we allow ourselves to use `posix_spawn()`.
811811
const fn allow_use_posix_spawn() -> bool {
812-
#![allow(clippy::if_same_then_else)]
813-
#![allow(clippy::needless_bool)]
814812
// OpenBSD's posix_spawn returns status 127 instead of erroring with ENOEXEC when faced with a
815813
// shebang-less script. Disable posix_spawn on OpenBSD.
816814
if cfg!(target_os = "openbsd") {

src/wutil/wcstod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,7 @@ where
197197

198198
#[cfg(test)]
199199
mod test {
200-
#![allow(overflowing_literals)]
201-
202200
use super::{wcstod, Error};
203-
use std::f64;
204201

205202
#[test]
206203
#[allow(clippy::all)]

0 commit comments

Comments
 (0)