summaryrefslogtreecommitdiff
path: root/absl/container/node_hash_map.h
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-05-02 13:07:52 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-05-02 13:08:39 -0700
commitd29393ceb9055722760442f51b7d44e3b2d0660f (patch)
treee2cb5478370681e063461c303f2c74cb32ec956c /absl/container/node_hash_map.h
parentfad73ab077b846ff83e921ea1f5a6f831ea07ec2 (diff)
Fixed typo in `try_emplace` comment.
PiperOrigin-RevId: 446010475 Change-Id: I28020510f3888a11f35b1960e9af441145ebf39b
Diffstat (limited to 'absl/container/node_hash_map.h')
-rw-r--r--absl/container/node_hash_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/container/node_hash_map.h b/absl/container/node_hash_map.h
index c91cae69..6868e63a 100644
--- a/absl/container/node_hash_map.h
+++ b/absl/container/node_hash_map.h
@@ -352,8 +352,8 @@ class node_hash_map
// `node_hash_map`.
//
// iterator try_emplace(const_iterator hint,
- // const init_type& k, Args&&... args):
- // iterator try_emplace(const_iterator hint, init_type&& k, Args&&... args):
+ // const key_type& k, Args&&... args):
+ // iterator try_emplace(const_iterator hint, key_type&& k, Args&&... args):
//
// Inserts (via copy or move) the element of the specified key into the
// `node_hash_map` using the position of `hint` as a non-binding suggestion