diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-10-28 18:36:43 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-10-28 18:37:42 -0400 |
| commit | 768a7e1a4a891191f3653cebc223dfad0e8b875c (patch) | |
| tree | fe9af2558abad92112b0e565d7fbfae73acb5aca | |
| parent | 321de979d8734d87629933fa37e6db6416ff3132 (diff) | |
| download | rust-768a7e1a4a891191f3653cebc223dfad0e8b875c.tar.gz rust-768a7e1a4a891191f3653cebc223dfad0e8b875c.zip | |
reference: slices are now regular types
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 1a3365a86b7..cfa69cdfd49 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1165,7 +1165,7 @@ exposing an API making it possible for it to occur in safe code. * Using `std::ptr::copy_nonoverlapping_memory` (`memcpy32`/`memcpy64` instrinsics) on overlapping buffers * Invalid values in primitive types, even in private fields/locals: - * Dangling/null pointers in non-raw pointers, or slices + * Dangling/null references or boxes * A value other than `false` (0) or `true` (1) in a `bool` * A discriminant in an `enum` not included in the type definition * A value in a `char` which is a surrogate or above `char::MAX` |
