[libcxx-commits] [libcxx] c54c90d - [libc++][NFC] Fix typo in comment

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 17 08:57:42 PDT 2023


Author: Louis Dionne
Date: 2023-03-17T11:57:34-04:00
New Revision: c54c90da4fb3940528de36df6dc69f3189705b2b

URL: https://github.com/llvm/llvm-project/commit/c54c90da4fb3940528de36df6dc69f3189705b2b
DIFF: https://github.com/llvm/llvm-project/commit/c54c90da4fb3940528de36df6dc69f3189705b2b.diff

LOG: [libc++][NFC] Fix typo in comment

Added: 
    

Modified: 
    libcxx/include/__algorithm/sort.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__algorithm/sort.h b/libcxx/include/__algorithm/sort.h
index c893270eeaa8a..ee627c4f6d172 100644
--- a/libcxx/include/__algorithm/sort.h
+++ b/libcxx/include/__algorithm/sort.h
@@ -276,7 +276,7 @@ void __insertion_sort(_BidirectionalIterator __first, _BidirectionalIterator __l
 
 // Sort the iterator range [__first, __last) using the comparator __comp using
 // the insertion sort algorithm.  Insertion sort has two loops, outer and inner.
-// The implementation below has not bounds check (unguarded) for the inner loop.
+// The implementation below has no bounds check (unguarded) for the inner loop.
 // Assumes that there is an element in the position (__first - 1) and that each
 // element in the input range is greater or equal to the element at __first - 1.
 template <class _AlgPolicy, class _Compare, class _RandomAccessIterator>


        


More information about the libcxx-commits mailing list