summaryrefslogtreecommitdiff
path: root/absl/container
diff options
context:
space:
mode:
authorGravatar Vertexwahn <julian.amann@tum.de>2023-05-02 20:13:10 +0200
committerGravatar Vertexwahn <julian.amann@tum.de>2023-05-02 20:24:15 +0200
commitd60c3ac625461da89e198b8912bb0bda251ef980 (patch)
treed6bddb4fc448c4a223cfa860637ed9366ff2cf52 /absl/container
parent3132b83a1a1c82df959e000057de27e1b8ff692d (diff)
Fix spelling mistakes
Diffstat (limited to 'absl/container')
-rw-r--r--absl/container/flat_hash_set.h2
-rw-r--r--absl/container/inlined_vector.h2
-rw-r--r--absl/container/node_hash_map.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/absl/container/flat_hash_set.h b/absl/container/flat_hash_set.h
index f5376f99..17bbf1a4 100644
--- a/absl/container/flat_hash_set.h
+++ b/absl/container/flat_hash_set.h
@@ -343,7 +343,7 @@ class flat_hash_set
// for the past-the-end iterator, which is invalidated.
//
// `swap()` requires that the flat hash set's hashing and key equivalence
- // functions be Swappable, and are exchaged using unqualified calls to
+ // functions be Swappable, and are exchanged using unqualified calls to
// non-member `swap()`. If the set's allocator has
// `std::allocator_traits<allocator_type>::propagate_on_container_swap::value`
// set to `true`, the allocators are also exchanged using an unqualified call
diff --git a/absl/container/inlined_vector.h b/absl/container/inlined_vector.h
index 3e807fdd..f0b0aff4 100644
--- a/absl/container/inlined_vector.h
+++ b/absl/container/inlined_vector.h
@@ -816,7 +816,7 @@ class InlinedVector {
void MoveAssignment(MemcpyPolicy, InlinedVector&& other) {
// Assumption check: we shouldn't be told to use memcpy to implement move
- // asignment unless we have trivially destructible elements and an allocator
+ // assignment unless we have trivially destructible elements and an allocator
// that does nothing fancy.
static_assert(absl::is_trivially_destructible<value_type>::value, "");
static_assert(std::is_same<A, std::allocator<value_type>>::value, "");
diff --git a/absl/container/node_hash_map.h b/absl/container/node_hash_map.h
index 6868e63a..dc8d7d9a 100644
--- a/absl/container/node_hash_map.h
+++ b/absl/container/node_hash_map.h
@@ -404,7 +404,7 @@ class node_hash_map
// for the past-the-end iterator, which is invalidated.
//
// `swap()` requires that the node hash map's hashing and key equivalence
- // functions be Swappable, and are exchaged using unqualified calls to
+ // functions be Swappable, and are exchanged using unqualified calls to
// non-member `swap()`. If the map's allocator has
// `std::allocator_traits<allocator_type>::propagate_on_container_swap::value`
// set to `true`, the allocators are also exchanged using an unqualified call