Skip to content

Commit

Permalink
Update status of comparison traits in log
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard authored Sep 12, 2024
1 parent 108b6e0 commit 5dc0d7e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ This file contains the changes to the crate since version 0.4.8.
from `core`. The crate is thus always `no_std` compatible.
If the `serde` feature is enabled the crate uses the [`serde_arrays`](https://crates.io/crates/serde_arrays)
crate to serialize the type, and that crate in turn uses the standard library.
- Removed the implementations of `PartialEq`, `Eq`, `PartialOrd`, and `Ord` from
`Primes`. To perform comparisons of the numbers in the struct with arrays or
slices you can call `as_array` or `as_slice`. The reason for the removal is that
every instance of `Primes<N>` for a given `N` is the same, which means that
comparisons and orderings are pointless, since `N` is part of the type signature.
- Replaces the implementations of `PartialEq`, `Eq`, `PartialOrd`, and `Ord` from
`Primes` with just the default derives.
To perform comparisons of the numbers in the struct with arrays or
slices you can call `as_array` or `as_slice`.

These changes mean that the MSRV of the crate is increased from 1.67.1 to 1.81.0.

Expand Down

0 comments on commit 5dc0d7e

Please sign in to comment.