Skip to content

Commit f8057e9

Browse files
authored
Ptr::try_cast_into takes explicit element count (#1160)
This permits us use `Ptr::try_cast_into` directly (rather than using `Ref`) in `FromBytes` methods that take an explicit element count. This, in turn, allows those methods to support DSTs with zero-sized trailing slice elements. Makes progress on #29
1 parent 15ce83c commit f8057e9

File tree

3 files changed

+291
-180
lines changed

3 files changed

+291
-180
lines changed

0 commit comments

Comments
 (0)