hamt-rs icon indicating copy to clipboard operation
hamt-rs copied to clipboard

remove send/sync retrictions when possible

Open TyOverby opened this issue 7 years ago • 1 comments

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.

TyOverby avatar Sep 14 '17 22:09 TyOverby

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?

Eh2406 avatar Mar 07 '18 17:03 Eh2406