Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove entry ref and re-arrange top-level imports #44

Merged
merged 3 commits into from
Nov 16, 2024
Merged

Conversation

declanvk
Copy link
Owner

CHANGELOG file has the details and motivation, this is mostly re-organizing

**Description**xx
Remove `entry_ref` functions and associated module

**Motivation**
The value add of `*entry_ref` was that you could pass a `&Q` to do the
lookup, just like the `get` method allows. On insert, then the `&Q`
would be converted to a `K`.

I didn't think the value of that delayed conversion was worth keeping
the whole other module around, since you can emulate the `entry*`
interface using `get`/`insert` calls directly.
**Description**
 - Remove the glob export of the `nodes` module in the `lib.rs` file
   and make `raw` module public
 - Fix all related imports, rename the files, etc

**Motivation**
I think that `raw` communicates the contents of the module better
than `nodes`, since that module contains all the trie-related stuff
that outside of the structured `TreeMap` interface.
**Description**
A couple of nightly features flags have been merged, so we can remove
them. One flag was even returning an error saying it didn't exist?

Once we bump the MSRV past the point where the same features would
appear on stable, we can remove the corresponding functions from the
`rust_nightly_apis` module.
@declanvk declanvk merged commit 7acc4f8 into main Nov 16, 2024
4 checks passed
@declanvk declanvk deleted the remove-entry-ref branch November 16, 2024 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant