Skip to content

Support HRTB and various fixes

Compare
Choose a tag to compare
@daxpedda daxpedda released this 21 Apr 16:38
· 12 commits to main since this release
ec868ce

Added

  • Allow lifetime for<'a, ...> bounds in non-bounded generic parameters.

Changed

  • Use the Copy implementation for Clone and the Ord implementation for
    PartialOrd when custom bounds are present.

Fixed

  • Support skipping only some variants with ZeroizeOnDrop.
  • Only generate single call to zeroize() with ZeroizeOnDrop on multiple
    fields or variants.