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 Box in ListNode & 2018 edition #29

Merged
merged 1 commit into from
Feb 22, 2021
Merged

Conversation

leshow
Copy link
Contributor

@leshow leshow commented Apr 26, 2020

There's a superfluous Box in the trie-like data structure ListNode. HashMap already provides indirection, so you don't actually need to Box it.

I also bumped the edition to 2018, ran rustfmt, and used criterion for your benchmarks so you don't have to run nightly anymore. If you'd like like the Box change I can just that in a separate PR, but I thought there's no reason not to just submit this all in one!

@rushmorem rushmorem merged commit 41fa0c6 into rushmorem:master Feb 22, 2021
@leshow
Copy link
Contributor Author

leshow commented Feb 22, 2021

Thanks for the merge! Any timeline on a release?

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.

None yet

2 participants