From 89ee23a74687311c5234f832d782b5ad56e2de7f Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 30 Oct 2021 19:29:15 +0200 Subject: Fixed docs alignments. --- docs/clist_api.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/clist_api.md') diff --git a/docs/clist_api.md b/docs/clist_api.md index 6bb241f9..a00b9551 100644 --- a/docs/clist_api.md +++ b/docs/clist_api.md @@ -146,15 +146,15 @@ int main () { clist_i L = clist_i_init(); c_apply(clist_i, push_back, &L, {10, 20, 30, 40, 50}); - // 10 20 30 40 50 - clist_i_iter it = clist_i_begin(&L); // ^ + // 10 20 30 40 50 + clist_i_iter it = clist_i_begin(&L); // ^ clist_i_next(&it); - it = clist_i_erase_at(&L, it); // 10 30 40 50 - // ^ - clist_i_iter end = clist_i_end(&L); // + it = clist_i_erase_at(&L, it); // 10 30 40 50 + // ^ + clist_i_iter end = clist_i_end(&L); // clist_i_next(&it); - it = clist_i_erase_range(&L, it, end); // 10 30 - // ^ + it = clist_i_erase_range(&L, it, end); // 10 30 + // ^ printf("mylist contains:"); c_foreach (x, clist_i, L) printf(" %d", *x.ref); puts(""); -- cgit v1.2.3