Closed SimonSapin closed 8 years ago
I’d like to use OwningRef with parking_lot::RwLockReadGuard but can’t implement the StableAddress trait because coherence rules.
OwningRef
parking_lot::RwLockReadGuard
StableAddress
https://github.com/Amanieu/parking_lot/commit/3a1baba65d0c22f684d690ba03fd22dacd59fa8c removes the need for this in my specific case.
Still looks like a useful addition, thanks!
I’d like to use
OwningRef
withparking_lot::RwLockReadGuard
but can’t implement theStableAddress
trait because coherence rules.