From 1158abceecb0da115bfb61203b5439f1a3dfe768 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Thu, 18 Jul 2024 18:04:51 +0200 Subject: [PATCH] Update libcxx/include/string Co-authored-by: Louis Dionne --- libcxx/include/string | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/string b/libcxx/include/string index ea2292441abf12..5ff5fe59b95572 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -1830,7 +1830,7 @@ private: template _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __assign_with_sentinel(_Iterator __first, _Sentinel __last); - // Copy [__first, __last) into [__dest, __dest + (__last - __first)). Assumes that the range don't overlap. + // Copy [__first, __last) into [__dest, __dest + (__last - __first)). Assumes that the ranges don't overlap. template _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 static value_type* __copy_non_overlapping_range(_ForwardIter __first, _Sent __last, value_type* __dest) {