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
Add implementation of GhostBorrow and GhostBorrowMut for arrays of references
* Changes:
- Add implementation of GhostBorrow for arrays of references to GhostCell
- Add implementation of GhostBorrowMut for arrays of references to GhostCell.
- Various comments and documentation nits.
* Motivation:
More flexibility.
* Implementation Note:
Due to `mem::transmute` not working well with const generics (as per rust-lang/rust#61956), `ptr::read` is used instead of `mem::transmute`. This is expected to be safe, if verbose.
0 commit comments