3 ms·
> Like having to do `&mut *` to pass a reference to a function I'm curious about your use case for this. `&mut *` I've seen, for instance to dereference a RwLo
by NoraCodes 4y ago
> Like having to do `&mut *` to pass a reference to a function
I'm curious about your use case for this. `&mut *` I've seen, for instance to dereference a RwLockWriteGuard, but why the double dereference?
- rendaw 4y agoIt was with deadpool, I don't recall the exact underlying reasons though: https://github.com/bikeshedder/deadpool/issues/104#issuecomment-879447081 https://github.com/bikeshedder/deadpool/issues/104#issuecomm...