Skip to content

Commit

Permalink
Document slice DSTs and size validity (#1273)
Browse files Browse the repository at this point in the history
Closes #1263
  • Loading branch information
joshlf authored May 17, 2024
1 parent 36e0a61 commit 5ad7d87
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 75 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Zerocopy provides four derivable traits for zero-cost conversions:
- `IntoBytes` indicates that a type may safely be converted *to* a byte
sequence

This traits support sized types, slices, and [slice DSTs][slice-dsts].

[slice-dsts]: KnownLayout#dynamically-sized-types

###### Marker Traits

Zerocopy provides three derivable marker traits that do not provide any
Expand Down
Loading

0 comments on commit 5ad7d87

Please sign in to comment.