aboutsummaryrefslogtreecommitdiff
path: root/include/bh/algo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bh/algo.h')
-rw-r--r--include/bh/algo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/bh/algo.h b/include/bh/algo.h
index 9934306..b859b1f 100644
--- a/include/bh/algo.h
+++ b/include/bh/algo.h
@@ -23,10 +23,10 @@ void bh_swap(void *lhs,
* @param element Element size
* @param equal Equal/compare function
*
- * @return Pointer to the first element that are greater-or-equal to pivot
- * element.
+ * @return The return value is the pointer to the first element of the second
+ * partition.
*
- * @warning Pivot element can be an element of the partitioned array itself.
+ * @warning Pivot element can be a part of the partitioned array.
*/
void *bh_partition(void *pivot,
void *array,