aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaciej <maciej.borowiec0@gmail.com>2026-08-10 16:52:48 +0200
committerMaciej <maciej.borowiec0@gmail.com>2026-08-10 16:52:48 +0200
commit28f2d2789054f6dc1929086c5022d0e8dca6a3d5 (patch)
treebbd56bc7f749353a9b09d66abcb2f212b404ea62 /include
parentdfba7a98086b70d417426a7ed8f6e5a69a6d551c (diff)
feat: added tests for dynamic array
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.