Skip to content

Commit

Permalink
Update list.h
Browse files Browse the repository at this point in the history
  • Loading branch information
RaniAgus authored Aug 15, 2024
1 parent eb1c7d9 commit 3b15cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commons/collections/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@
* string_append(&acc, ", ");
* }
* string_append_with_format(&acc, "%s(%d)", person->name, person->age);
* return accumulated;
* return acc;
* }
* char* str = list_fold(people, string_new(), _append_person);
*
Expand Down

0 comments on commit 3b15cb5

Please sign in to comment.