Skip to content

Commit

Permalink
[refactor] fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Alignof committed Aug 13, 2024
1 parent fabfb52 commit 6a305e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instruction/zicntr_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::{InstFormat, Opcode};
use core::fmt::{self, Display, Formatter};

/// Insturctions in Zicntr Extension.
#[allow(non_camel_case_types)]
#[allow(non_camel_case_types, clippy::upper_case_acronyms)]
#[derive(Debug, PartialEq)]
pub enum ZicntrOpcode {
// For Rv32, these instructions indicate lower 32 bits.
Expand Down

0 comments on commit 6a305e3

Please sign in to comment.