-
Notifications
You must be signed in to change notification settings - Fork 70
Improve block2 #168
Copy link
Copy link
Closed
Labels
A-block2Affects the `block2` crateAffects the `block2` cratedocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
A-block2Affects the `block2` crateAffects the `block2` cratedocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
I haven't given this crate nearly as much love as it deserves!
In particular, it would be nice to allow mutating blocks, e.g.
FnOnceandFnMutshould becomeBlockOnceandBlockMut.Also, I'm not certain the way
ConcreteBlockis put on the stack is sound? And what about lifetime of the stuff used in the closure?Issues in
blockccrather thangcc. SSheldon/rust-block#8blockcrate into this repo #18.FnMutin blocks? #571.block2 0.2.0-alpha.6: ImplementingEncode/RefEncodeis bothersome and not always possible SSheldon/rust-block#16Work on this in other projects
cidre's blocksblocksr