Skip to content

Commit c53caae

Browse files
committed
[libc++][NFC] Remove dead link in comment
1 parent 0460418 commit c53caae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__memory/unique_ptr.h

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)