Skip to content

Commit

Permalink
Traits other than NoCell permit UnsafeCells
Browse files Browse the repository at this point in the history
TODO:
- Require `T: NoCell` and `U: NoCell` in `transmute_ref!` and
  `transmute_mut!`
- Tests
  - Exercise transmuting `UnsafeCell`s by value
- Fix compilation with some `AsBytes` methods
- Time to rename `AsBytes` to `ToBytes`?

Closes ##251
  • Loading branch information
joshlf committed Dec 6, 2023
1 parent 949c7bb commit 37ad99b
Showing 1 changed file with 104 additions and 127 deletions.
Loading

0 comments on commit 37ad99b

Please sign in to comment.