From fba60a4841ce2185200e82cdb80428e9819233f8 Mon Sep 17 00:00:00 2001 From: Lucas Seiki Oshiro Date: Thu, 15 May 2025 22:01:58 -0300 Subject: json-writer: add docstrings to jw_* functions Add a docstring for each function that manipulates json_writers. Helped-by: Junio C Hamano Helped-by: Patrick Steinhardt Helped-by: Karthik Nayak Signed-off-by: Lucas Seiki Oshiro Acked-by: Karthik Nayak Signed-off-by: Junio C Hamano --- json-writer.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'json-writer.c') diff --git a/json-writer.c b/json-writer.c index 8c5187e9fd..34577dc25f 100644 --- a/json-writer.c +++ b/json-writer.c @@ -268,10 +268,6 @@ static void append_sub_jw(struct json_writer *jw, strbuf_addbuf(&jw->json, &value->json); } -/* - * Append existing (properly terminated) JSON sub-data (object or array) - * as-is onto the given JSON data. - */ void jw_object_sub_jw(struct json_writer *jw, const char *key, const struct json_writer *value) { -- cgit v1.3-5-g45d5