Closed mbrubeck closed 3 years ago
What's the purpose of the 1.1.0 change? Otherwise this looks fine.
What's the purpose of the 1.1.0 change? Otherwise this looks fine.
I'd like to publish a release with this change, and I wanted to remember to bump the minor version because this adds new public methods.
Oops, I definitely misread the change. Looks good!
Note: I pushed a quick fix to revert the deprecation of front
and front_mut
. I did this because, after releasing this change, I tried to update badgen
to avoid the deprecated methods, and discovered that there is no way to convert this code to use find
until Polonius is stabilized:
I'd still like to remove these methods in a future release, but it will have to wait.
Change the names of a couple of methods to be consistent with other Rust libraries.
num_entries
tolen
.evict_all
toclear
.The old names are still available but marked as deprecated. They will be removed in the next major release.
Also mark
front
andfront_mut
as deprecated. These methods are not useful for external code, and will be made private in the next major release.