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 @@ -300,7 +300,7 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
300300// We provide some helper classes that allow bounds checking when accessing a unique_ptr<T[]>.
301301// There are a few cases where bounds checking can be implemented:
302302//
303- // 1. When an array cookie (see [1]) exists at the beginning of the array allocation, we are
303+ // 1. When an array cookie exists at the beginning of the array allocation, we are
304304// able to reuse that cookie to extract the size of the array and perform bounds checking.
305305// An array cookie is a size inserted at the beginning of the allocation by the compiler.
306306// That size is inserted implicitly when doing `new T[n]` in some cases (as of writing this
You can’t perform that action at this time.
0 commit comments