Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
pull/162/head
Ralf Jung 5 years ago committed by GitHub
parent 9cf4a9a6f1
commit 61b001f52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ language cares about is preventing the following things:
* a `char` outside the ranges [0x0, 0xD7FF] and [0xE000, 0x10FFFF] * a `char` outside the ranges [0x0, 0xD7FF] and [0xE000, 0x10FFFF]
* a `!` (all values are invalid for this type) * a `!` (all values are invalid for this type)
* a reference/`Box` that is dangling, unaligned, or points to an invalid value. * a reference/`Box` that is dangling, unaligned, or points to an invalid value.
* a wide reference, `Box` or raw pointer that has invalid metadata: * a wide reference, `Box`, or raw pointer that has invalid metadata:
* slice metadata is invalid if the slice has a total size larger than * slice metadata is invalid if the slice has a total size larger than
`isize::MAX` bytes in memory `isize::MAX` bytes in memory
* `dyn Trait` metadata is invalid if it is not a pointer to a vtable for * `dyn Trait` metadata is invalid if it is not a pointer to a vtable for

Loading…
Cancel
Save