Skip to content
Snippets Groups Projects
Commit 995ac0a6 authored by Ralf Jung's avatar Ralf Jung
Browse files

add another example

parent 01501d7b
Branches
No related tags found
No related merge requests found
Pipeline #18464 passed
...@@ -5,3 +5,7 @@ Missing APIs from the types we cover (APIs have been added after this formalizat ...@@ -5,3 +5,7 @@ Missing APIs from the types we cover (APIs have been added after this formalizat
* Structural conversion for slices. The matching operations in our model would be * Structural conversion for slices. The matching operations in our model would be
`&mut Cell<(A, B)>` -> `&mut (Cell<A>, Cell<B>)` and `&mut Cell<(A, B)>` -> `&mut (Cell<A>, Cell<B>)` and
`&Cell<(A, B)>` -> `&(Cell<A>, Cell<B>)` (both being NOPs). `&Cell<(A, B)>` -> `&(Cell<A>, Cell<B>)` (both being NOPs).
# ZST
* Something like the example from <https://github.com/rust-lang/unsafe-code-guidelines/issues/168#issuecomment-512528361>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment