From 21266a5becbdc4f2ce1d41d95e018e028ea7eea7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 17 Nov 2021 10:05:06 +1000 Subject: [PATCH] lib: correct documentation for wp_iterator_fold/foreach --- lib/wp/iterator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wp/iterator.c b/lib/wp/iterator.c index 6cbbd12d..702a4fb8 100644 --- a/lib/wp/iterator.c +++ b/lib/wp/iterator.c @@ -174,7 +174,7 @@ wp_iterator_next (WpIterator *self, GValue *item) } /*! - * \brief Iterates over all items of the iterator calling a function. + * \brief Fold a function over the items of the iterator. * * \ingroup wpiterator * \param self the iterator @@ -196,7 +196,7 @@ wp_iterator_fold (WpIterator *self, WpIteratorFoldFunc func, GValue *ret, } /*! - * \brief Fold a function over the items of the iterator. + * \brief Iterates over all items of the iterator calling a function. * * \ingroup wpiterator * \param self the iterator