mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix new find documentation
This commit is contained in:
parent
6430682902
commit
511b58b370
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ public:
|
||||||
* @brief Find an item with a hint
|
* @brief Find an item with a hint
|
||||||
*
|
*
|
||||||
* @param hint A hint on where the needle _might_ be
|
* @param hint A hint on where the needle _might_ be
|
||||||
* @param needle The item to search for
|
* @param predicate that will used to find the item
|
||||||
* @return the item and its index or none if it's not found
|
* @return the item and its index or none if it's not found
|
||||||
*/
|
*/
|
||||||
std::optional<std::pair<size_t, T>> find(size_t hint, auto &&predicate)
|
std::optional<std::pair<size_t, T>> find(size_t hint, auto &&predicate)
|
||||||
|
|
Loading…
Reference in a new issue