Skip to content

Take representation into account when getting discriminant

Compare
Choose a tag to compare
@daxpedda daxpedda released this 01 Sep 22:00
· 20 commits to main since this release
1a80132

Fixed

  • Take representation into account when determining the discriminant type.

Changed

  • Use stable methods to retrieve the discriminant in PartialOrd and Ord
    implementations. Safe methods used with the safe crate feature don't use
    recursive matches anymore, significantly improving the performance.