[libcxx-commits] [libcxx] e227125 - [libc++][NFC] Fix typo in comment (#173741)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Dec 28 09:10:03 PST 2025
Author: Eduardo Tachotte
Date: 2025-12-29T01:09:59+08:00
New Revision: e227125e6dbeda993c6fafc6e1719fdbed68cce1
URL: https://github.com/llvm/llvm-project/commit/e227125e6dbeda993c6fafc6e1719fdbed68cce1
DIFF: https://github.com/llvm/llvm-project/commit/e227125e6dbeda993c6fafc6e1719fdbed68cce1.diff
LOG: [libc++][NFC] Fix typo in comment (#173741)
Found a typo while reading the `vector` implementation, this PR simply
fixes it.
Added:
Modified:
libcxx/include/__vector/vector.h
Removed:
################################################################################
diff --git a/libcxx/include/__vector/vector.h b/libcxx/include/__vector/vector.h
index 93358d863492e..2cb3325807a42 100644
--- a/libcxx/include/__vector/vector.h
+++ b/libcxx/include/__vector/vector.h
@@ -114,7 +114,7 @@ class vector {
using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
- // A vector containers the following members which may be trivially relocatable:
+ // A vector contains the following members which may be trivially relocatable:
// - pointer: may be trivially relocatable, so it's checked
// - allocator_type: may be trivially relocatable, so it's checked
// vector doesn't contain any self-references, so it's trivially relocatable if its members are.
More information about the libcxx-commits
mailing list