Skip to content

Commit 768a7e1

Browse files
committed
reference: slices are now regular types
1 parent 321de97 commit 768a7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ exposing an API making it possible for it to occur in safe code.
11651165
* Using `std::ptr::copy_nonoverlapping_memory` (`memcpy32`/`memcpy64`
11661166
instrinsics) on overlapping buffers
11671167
* Invalid values in primitive types, even in private fields/locals:
1168-
* Dangling/null pointers in non-raw pointers, or slices
1168+
* Dangling/null references or boxes
11691169
* A value other than `false` (0) or `true` (1) in a `bool`
11701170
* A discriminant in an `enum` not included in the type definition
11711171
* A value in a `char` which is a surrogate or above `char::MAX`

0 commit comments

Comments
 (0)