Skip to content

Commit

Permalink
more fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ozdemir committed Feb 7, 2025
1 parent 2e7c0aa commit eab55b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ir/term/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,7 @@ impl DisplayIr for FieldV {
fn ir_fmt(&self, f: &mut IrFormatter) -> FmtResult {
let omit_field = f.cfg.hide_field
|| f.default_field
.as_ref()
.map_or(false, |field| field == &self.ty());
.as_ref().is_some_and(|field| field == &self.ty());
let mut i = self.i();
let mod_bits = self.modulus().significant_bits();
if i.significant_bits() + 1 >= mod_bits {
Expand Down

0 comments on commit eab55b6

Please sign in to comment.