From 0622c78869b0e9381bd709e2330b7e24feb1fb46 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 1 Aug 2023 14:54:16 +0900 Subject: [PATCH] [DOC] Update warning categories - Fix indentations of labeled lists. - Mention performance category. --- error.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/error.c b/error.c index cb954dbf9e..3e00cacb22 100644 --- a/error.c +++ b/error.c @@ -201,14 +201,20 @@ rb_warning_category_enabled_p(rb_warning_category_t category) * Returns the flag to show the warning messages for +category+. * Supported categories are: * - * +:deprecated+ :: deprecation warnings - * * assignment of non-nil value to $, and $; - * * keyword arguments - * * proc/lambda without block - * etc. + * +:deprecated+ :: + * deprecation warnings + * * assignment of non-nil value to $, and $; + * * keyword arguments + * * proc/lambda without block + * etc. * - * +:experimental+ :: experimental features - * * Pattern matching + * +:experimental+ :: + * experimental features + * * Pattern matching + * + * +:performance+ :: + * performance hints + * * Shape variation limit */ static VALUE