cargo fmt

This commit is contained in:
Richard Patel 2022-06-09 07:30:08 +02:00
parent d23fb912b8
commit 65a68166b6
1 changed files with 4 additions and 1 deletions

View File

@ -298,7 +298,10 @@ impl Ins {
} }
pub fn is_branch(&self) -> bool { pub fn is_branch(&self) -> bool {
matches!(self.op, Opcode::B | Opcode::Bc | Opcode::Bcctr | Opcode::Bclr) matches!(
self.op,
Opcode::B | Opcode::Bc | Opcode::Bcctr | Opcode::Bclr
)
} }
pub fn is_direct_branch(&self) -> bool { pub fn is_direct_branch(&self) -> bool {