You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #260: clippy fixes: make some lifetimes anonymous and add send/sync to types::BoundRef
5696096 types: implement `Send`/`Sync` for `BoundRef` (Andrew Poelstra)
9385b6d clippy: make lifetimes anonymous where possible (Andrew Poelstra)
Pull request description:
`types::BoundRef` is an internal type which includes a sort of weak pointer to an `Arc` containing a slab allocation used by the type inference engine.
It is `Send` and `Sync` by construction but the compiler does not recognize this because it includes a raw pointer. Add explicit implementations with a safety comment explaining why it is okay.
Fixes#258
ACKs for top commit:
uncomputable:
ACK 5696096
Tree-SHA512: 4498543e98c13950444029803f7a7f016861323092bc814d418b7bda67c0ddd131556d931caff47cded3f08a236673c987ebb74da9e879f5c13969001ee5116a
0 commit comments