mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
This creates a sharp distinction between `Arc<Flow>`s, which may be owned by anyone, and `FlowRef`s, which may only be owned by the traversal code. By checking the reference count, we ensure that a `Flow` cannot be pointed to by `Arc`s and `FlowRef`s simultaneously. This is not a complete fix for #6503, though it is a necessary start (enforcing the no-aliasing rule of `FlowRef::deref_mut` will require far more work). Fixes #14014 |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs |