diff --git a/include/LightGBM/c_api.h b/include/LightGBM/c_api.h index 4bff830df02b..8e9a6fc2500c 100644 --- a/include/LightGBM/c_api.h +++ b/include/LightGBM/c_api.h @@ -578,7 +578,7 @@ LIGHTGBM_C_EXPORT int LGBM_BoosterGetEvalNames(BoosterHandle handle, * If smaller than the max size, only this many strings are copied * \param[out] out_len Total number of features * \param buffer_len Size of pre-allocated strings. - * Content is copied up to buffer_len-1 and null-terminated. + * Content is copied up to ``buffer_len - 1`` and null-terminated * \param[out] out_buffer_len String sizes required to do the full string copies * \param[out] out_strs Names of features, should pre-allocate memory * \return 0 when succeed, -1 when failure happens