Skip to content

Commit 0fd2246

Browse files
committed
clippy: whitelist one instance of clippy::wildcard-imports lint
1 parent 3ab34e4 commit 0fd2246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/opcodes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ pub enum ClassifyContext {
788788
impl All {
789789
/// Classifies an Opcode into a broad class.
790790
#[inline]
791+
#[allow(clippy::wildcard_imports)] // ok to import all the opcodes with all::*
791792
pub fn classify(self, ctx: ClassifyContext) -> Class {
792793
use self::all::*;
793794
match (self, ctx) {

0 commit comments

Comments
 (0)