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

remove send/sync retrictions when possible #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TyOverby
Copy link

Because HamtMap isn't Send/Sync, there's no reason to make K or V Send or Sync.

This removes the necessity in the API, while allowing for the possibility of a Sync/Send HamptMap in the future.

@Eh2406
Copy link

Eh2406 commented Mar 7, 2018

I am still getting

     = help: the trait `std::marker::Sync` is not implemented for `std::rc::Rc<...>`
     = note: required by `hamt_rs::ShareStore`

with hamt-rs = { git = "https://github.com/TyOverby/hamt-rs", branch = "remove-reqs"}. Am I doing something wrong?

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

Successfully merging this pull request may close these issues.

2 participants