Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tracking issue for Rc::downcast (`rc_downcast` feature) #44608
Team member @SimonSapin has proposed to merge this. The next step is review by the rest of the tagged teams:
Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!
See this document for info about what commands tagged team members can give me.
Hehe, I can't quite find the right way to pick the right implementations.
All four combinations are "Trait", "Trait + Send", "Trait + Sync", "Trait + Send + Sync".
The frugal approach is just the first one for Rc and just the last one for Arc. The perfect would be to write just one that covered them all, for each of Rc and Arc. I think the pragmatic would be all four for both Rc and Arc.