Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

README example usage is wrong #14

Open
orium opened this issue Dec 21, 2017 · 0 comments
Open

README example usage is wrong #14

orium opened this issue Dec 21, 2017 · 0 comments

Comments

@orium
Copy link

orium commented Dec 21, 2017

Hi,

In the "Usage" section of the readme the HamtMap::remove() is used as if self is passed by reference, but it is actually passed by move. To keep the previous version of the map it must be cloned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant