aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/moslib/ds/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/moslib/ds/array.h b/include/moslib/ds/array.h
index aac2304..d7534d8 100644
--- a/include/moslib/ds/array.h
+++ b/include/moslib/ds/array.h
@@ -131,7 +131,7 @@
//
// You can also set capacity:
//
-// size_t new_cap = arr_cap(array, target_cap);
+// size_t new_cap = arr_set_cap(array, target_cap);
//
// When target_cap is lower than array length it will set capacity to array length.
// Returns the new capacity.