summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-01 14:54:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-01 14:54:16 +0900
commit0622c78869b0e9381bd709e2330b7e24feb1fb46 (patch)
tree3521af1c9e71331efe5378407e63bd6a082f3605 /error.c
parent533dcb8e52dca91ce699c0990301939d69c102fc (diff)
[DOC] Update warning categories
- Fix indentations of labeled lists. - Mention performance category.
Diffstat (limited to 'error.c')
-rw-r--r--error.c22
1 files changed, 14 insertions, 8 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 <code>$,</code> and <code>$;</code>
- * * keyword arguments
- * * proc/lambda without block
- * etc.
- *
- * +:experimental+ :: experimental features
- * * Pattern matching
+ * +:deprecated+ ::
+ * deprecation warnings
+ * * assignment of non-nil value to <code>$,</code> and <code>$;</code>
+ * * keyword arguments
+ * * proc/lambda without block
+ * etc.
+ *
+ * +:experimental+ ::
+ * experimental features
+ * * Pattern matching
+ *
+ * +:performance+ ::
+ * performance hints
+ * * Shape variation limit
*/
static VALUE