summaryrefslogtreecommitdiff
path: root/absl/container
diff options
context:
space:
mode:
authorGravatar Copybara-Service <copybara-worker@google.com>2023-05-03 07:41:30 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-05-03 07:41:30 -0700
commit3e9f08d9fb77b685e14e87630036e7b6cf09c2c6 (patch)
tree4e19365188ca6677bf178597b4eee4e7ea91335e /absl/container
parent3132b83a1a1c82df959e000057de27e1b8ff692d (diff)
parentd60c3ac625461da89e198b8912bb0bda251ef980 (diff)
Merge pull request #1441 from Vertexwahn:fix-spelling3
PiperOrigin-RevId: 529086715 Change-Id: Id5462322d5707a1b4475438520fcb70ee7b15450
Diffstat (limited to 'absl/container')
-rw-r--r--absl/container/flat_hash_set.h2
-rw-r--r--absl/container/inlined_vector.h4
-rw-r--r--absl/container/node_hash_map.h2
3 files changed, 4 insertions, 4 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..245e1c57 100644
--- a/absl/container/inlined_vector.h
+++ b/absl/container/inlined_vector.h
@@ -816,8 +816,8 @@ 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
- // that does nothing fancy.
+ // 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