diff --git a/fuzz/src/main.rs b/fuzz/src/main.rs index 5b0e392..b46a816 100644 --- a/fuzz/src/main.rs +++ b/fuzz/src/main.rs @@ -5,8 +5,6 @@ use std::sync::atomic::{AtomicU32, Ordering}; use std::sync::Arc; use std::time::{Duration, Instant}; -use num_cpus; - use ppc750cl::Ins; use std::ops::Range; diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 92e2d14..24453fa 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -1401,7 +1401,8 @@ impl Ins { Opcode::Sync => "sync", Opcode::Tlbsync => "tlbsync", _ => disasm_unreachable!(self.code), - }.to_owned(); + } + .to_owned(); Ok(()) } @@ -2305,6 +2306,7 @@ impl ToString for Ins { } #[cfg(test)] +#[allow(clippy::unusual_byte_groupings, clippy::bool_assert_comparison)] mod tests { use super::*;