summaryrefslogtreecommitdiffhomepage
path: root/docs/cbox_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cbox_api.md')
-rw-r--r--docs/cbox_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cbox_api.md b/docs/cbox_api.md
index 59c44e02..8709548a 100644
--- a/docs/cbox_api.md
+++ b/docs/cbox_api.md
@@ -84,7 +84,7 @@ int main()
c_auto (IVec, vec) // declare and init vec, call drop at scope exit
c_auto (ISet, set) // similar
{
- c_apply(v, IVec_push(&vec, v), IBox, {
+ c_apply(v, IVec_push(&vec, *v), IBox, {
IBox_make(2021), IBox_make(2012),
IBox_make(2022), IBox_make(2015),
});