Add Invert to MontyForm supertraits#1226
Conversation
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
|
Note that this is technically a breaking change, which we really need to stop making, though this one is unlikely to have user-facing impact. It would involve yanking the existing stable releases again though like last time, which is somewhat disruptive. Perhaps we should also seal |
|
Hm, I figured since it was additive it wouldn't be disruptive. Another potential one is adding |
|
Also doesn't have to be done now, implementers can use |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1226 +/- ##
==========================================
+ Coverage 87.97% 87.99% +0.01%
==========================================
Files 184 184
Lines 21238 21244 +6
==========================================
+ Hits 18684 18693 +9
+ Misses 2554 2551 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Right now it's possible for downstream crates to impl the I doubt anyone is doing that yet, so this is a largely hypothetical scenario, but it's one we should respect in our SemVer contract. We can avoid this situation entirely by sealing the |
Note: this is a breaking change in a stable release, and hopefully the last such change we make. As a result, the v0.7.1 release will be yanked. We suspect this will not have an impact on users as it's unlikely any downstream crates have impl'd the `Integer` trait. Sealing the `Integer` trait allows us to make additive changes to its bounds, e.g. #1226
|
I opened a PR to seal the |
Note: this is a breaking change in a stable release, and hopefully the last such change we make. As a result, the v0.7.1 release will be yanked. We suspect this will not have an impact on users as it's unlikely any downstream crates have impl'd the `Integer` trait. Sealing the `Integer` trait allows us to make additive changes to its bounds, e.g. #1226
No description provided.