Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Mark RawVec as Send? #3

Closed
blckngm opened this issue Mar 10, 2017 · 1 comment
Closed

Mark RawVec as Send? #3

blckngm opened this issue Mar 10, 2017 · 1 comment

Comments

@blckngm
Copy link

blckngm commented Mar 10, 2017

To make IpLookupTable Send.

I believe RawVec from alloc is Send. Any reason our implementation should not be?

(When T is Send, of course.)

@hroi
Copy link
Owner

hroi commented Apr 5, 2017

Good point.

As RawVec owns its contents, it should be safe to mark it Send where T: Send.

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

2 participants