From 0717e886e5d7e7bfce2f534e1a857ce98a8c20ae Mon Sep 17 00:00:00 2001 From: Astariul <43774355+astariul@users.noreply.github.com> Date: Fri, 31 May 2024 00:14:42 +0900 Subject: [PATCH] [doc] Fix typo & format in C API documentation (#10350) --- include/xgboost/c_api.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/xgboost/c_api.h b/include/xgboost/c_api.h index 8de910dfe..85897412f 100644 --- a/include/xgboost/c_api.h +++ b/include/xgboost/c_api.h @@ -1265,13 +1265,11 @@ XGB_DLL int XGBoosterLoadModelFromBuffer(BoosterHandle handle, * \param handle handle * \param config JSON encoded string storing parameters for the function. Following * keys are expected in the JSON document: - * - * "format": str - * - json: Output booster will be encoded as JSON. - * - ubj: Output booster will be encoded as Univeral binary JSON. - * - deprecated: Output booster will be encoded as old custom binary format. Do not use - * this format except for compatibility reasons. - * + * - "format": str + * - json: Output booster will be encoded as JSON. + * - ubj: Output booster will be encoded as Universal binary JSON. + * - deprecated: Output booster will be encoded as old custom binary format. Do not use + * this format except for compatibility reasons. * \param out_len The argument to hold the output length * \param out_dptr The argument to hold the output data pointer *