File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ A reference/pointer is "dangling" if it is null or not all of the bytes it
48
48
points to are part of the same allocation (so in particular they all have to be
49
49
part of * some* allocation). The span of bytes it points to is determined by the
50
50
pointer value and the size of the pointee type. As a consequence, if the span is
51
- empty, "dangling" is the same as "non- null". Note that slices and strings point
51
+ empty, "dangling" is the same as "null". Note that slices and strings point
52
52
to their entire range, so it's important that the length metadata is never too
53
53
large (in particular, allocations and therefore slices and strings cannot be
54
54
bigger than ` isize::MAX ` bytes). If for some reason this is too cumbersome,
You can’t perform that action at this time.
0 commit comments