Derive PartialEq for Argument, pub SimplifiedIns::basic_form

This commit is contained in:
Luke Street 2023-10-06 01:10:41 -04:00
parent 87fe934548
commit 4a2bbbc6f8
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ impl Display for Bit {
// Unsigned opaque argument.
field_arg!(OpaqueU, u32);
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum Argument {
GPR(GPR),
FPR(FPR),
@ -443,7 +443,7 @@ impl Display for SimplifiedIns {
}
impl SimplifiedIns {
pub(crate) fn basic_form(ins: Ins) -> Self {
pub fn basic_form(ins: Ins) -> Self {
Self {
mnemonic: ins.op.mnemonic(),
suffix: ins.suffix(),