Commit d29393ce by Abseil Team Committed by Copybara-Service

Fixed typo in `try_emplace` comment.

PiperOrigin-RevId: 446010475
Change-Id: I28020510f3888a11f35b1960e9af441145ebf39b
parent fad73ab0
...@@ -361,8 +361,8 @@ class flat_hash_map : public absl::container_internal::raw_hash_map< ...@@ -361,8 +361,8 @@ class flat_hash_map : public absl::container_internal::raw_hash_map<
// `flat_hash_map`. // `flat_hash_map`.
// //
// iterator try_emplace(const_iterator hint, // iterator try_emplace(const_iterator hint,
// const init_type& k, Args&&... args): // const key_type& k, Args&&... args):
// iterator try_emplace(const_iterator hint, init_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 // Inserts (via copy or move) the element of the specified key into the
// `flat_hash_map` using the position of `hint` as a non-binding suggestion // `flat_hash_map` using the position of `hint` as a non-binding suggestion
......
...@@ -352,8 +352,8 @@ class node_hash_map ...@@ -352,8 +352,8 @@ class node_hash_map
// `node_hash_map`. // `node_hash_map`.
// //
// iterator try_emplace(const_iterator hint, // iterator try_emplace(const_iterator hint,
// const init_type& k, Args&&... args): // const key_type& k, Args&&... args):
// iterator try_emplace(const_iterator hint, init_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 // 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 // `node_hash_map` using the position of `hint` as a non-binding suggestion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment