summaryrefslogtreecommitdiffhomepage
path: root/docs/clist_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/clist_api.md')
-rw-r--r--docs/clist_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/clist_api.md b/docs/clist_api.md
index 1eb92c12..b4cbced7 100644
--- a/docs/clist_api.md
+++ b/docs/clist_api.md
@@ -175,7 +175,7 @@ Splice `[30, 40]` from *L2* into *L1* before `3`:
#include <stdio.h>
int main() {
- c_forauto (clist_i, L1, L2)
+ c_auto (clist_i, L1, L2)
{
c_emplace(clist_i, L1, {1, 2, 3, 4, 5});
c_emplace(clist_i, L2, {10, 20, 30, 40, 50});