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
Backport to the 0.4 version, releasing as 0.4.8.
The assumption that the address of access's guarded reference stays the
same is not true.
Costs:
* The Map is now slower and adds an allocation.
* It can stop being Copy (but non-trivial guards weren't anyway) and
it can stop being Sync/Send if the closure is not.
* The taken closure needs to be Clone.
Fixes#45.
Technically, it is a breaking change, but the plan is not to raise major
version, because:
* Even rust std gives exception to break compatibility for soundness
hole fixes.
* It is not that likely people's code would break.
* Even if it breaks, they are much more likely to go to the fixed
version then if the version got bumped and that's what they should be
doing ASAP due to the potential UB.
0 commit comments