Skip to content

Commit d176807

Browse files
RalfJungCentril
andauthored
Update src/what-unsafe-does.md
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
1 parent 04823fd commit d176807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/what-unsafe-does.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ points to are part of the same allocation (so in particular they all have to be
5050
part of *some* allocation). The span of bytes it points to is determined by the
5151
pointer value and the size of the pointee type. As a consequence, if the span is
5252
empty, "dangling" is the same as "non-null". Note that slices point to their
53-
entire range, so it's very important that the length metadata is never too large
53+
entire range, so it's important that the length metadata is never too large
5454
(in particular, allocations and therefore slices cannot be bigger than
5555
`isize::MAX` bytes). If for some reason this is too cumbersome, consider using
5656
raw pointers.

0 commit comments

Comments
 (0)