File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -809,8 +809,6 @@ pub fn use_posix_spawn() -> bool {
809
809
810
810
/// Whether or not we are running on an OS where we allow ourselves to use `posix_spawn()`.
811
811
const fn allow_use_posix_spawn ( ) -> bool {
812
- #![ allow( clippy:: if_same_then_else) ]
813
- #![ allow( clippy:: needless_bool) ]
814
812
// OpenBSD's posix_spawn returns status 127 instead of erroring with ENOEXEC when faced with a
815
813
// shebang-less script. Disable posix_spawn on OpenBSD.
816
814
if cfg ! ( target_os = "openbsd" ) {
Original file line number Diff line number Diff line change @@ -197,10 +197,7 @@ where
197
197
198
198
#[ cfg( test) ]
199
199
mod test {
200
- #![ allow( overflowing_literals) ]
201
-
202
200
use super :: { wcstod, Error } ;
203
- use std:: f64;
204
201
205
202
#[ test]
206
203
#[ allow( clippy:: all) ]
You can’t perform that action at this time.
0 commit comments