Skip to content

Commit 96f3464

Browse files
committed
json: Fix unbalanced braces in example code
1 parent 3fbeb10 commit 96f3464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ EXAMPLES:*/
9797
struct json_token *ent = json_array_begin(a);
9898
for (i = 0; i < a->children && ent; ++i) {
9999
struct json_token *pos = json_query(ent, ent->sub, "position");
100-
/*... */
101-
ent = json_array_next(ent);}
100+
/* ... */
101+
ent = json_array_next(ent);
102102
}
103103
#endif
104104

0 commit comments

Comments
 (0)