Fix a clippy warning

korrat
Apr 8, 2024, 6:18 PM
5OSNITA2V6SFW5KKQG5EZYU5KZ564NHKKAXC5UDU2FDWY2QUK5KQC

Dependencies

  • [2] 2JBFREZG enable additional warnings
  • [3] YDK6X6PP add a library of important types for beancount

Change contents

  • replacement in beancount/commodity/src/lib.rs at line 75
    [2.5636][2.5636:5735]()
    self.partial_cmp(other)
    .map(Ordering::is_eq)
    .unwrap_or_default()
    [2.5636]
    [2.5735]
    self.partial_cmp(other).is_some_and(Ordering::is_eq)