summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cset_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cset_api.md b/docs/cset_api.md
index f8629aa8..faeca52f 100644
--- a/docs/cset_api.md
+++ b/docs/cset_api.md
@@ -109,7 +109,7 @@ int main ()
cset_str fifth = cset_str_clone(second);
c_foreach (i, cset_str, third)
- cset_str_emplace(&fifth, i.ref->ref);
+ cset_str_emplace(&fifth, i.ref->str);
c_foreach (i, cset_str, fourth)
cset_str_emplace(&fifth, i.ref->str);