From 49a8403840fd1002ca6ee0e0b5010cde12dedb12 Mon Sep 17 00:00:00 2001 From: Jimmy Timmons Date: Thu, 30 May 2024 12:00:27 -0400 Subject: [PATCH 1/2] Update @warning doc to clarify +/- --- misc_docs/syntax/decorator_expression_warning.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_docs/syntax/decorator_expression_warning.mdx b/misc_docs/syntax/decorator_expression_warning.mdx index f9e5bce13..c9c881e82 100644 --- a/misc_docs/syntax/decorator_expression_warning.mdx +++ b/misc_docs/syntax/decorator_expression_warning.mdx @@ -6,7 +6,7 @@ summary: "This is the `@warning` decorator." category: "decorators" --- -The `@warning` decorator is used to modify the enabled compiler warnings for types, values and submodules. See [here](/docs/manual/latest/warning-numbers) for all available warning numbers. +The `@warning` decorator is used to modify the enabled compiler warnings for types, values and submodules. See [here](/docs/manual/latest/warning-numbers) for all available warning numbers. Prefix the warning number with `+` or `-` to enable or disable respectively. ### Examples From 3c74bbcc7675138c1ece664770915cc2e06bc0a5 Mon Sep 17 00:00:00 2001 From: Jimmy Timmons Date: Thu, 30 May 2024 12:32:40 -0400 Subject: [PATCH 2/2] Update @@warning doc to clarify +/- --- misc_docs/syntax/decorator_module_warning.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_docs/syntax/decorator_module_warning.mdx b/misc_docs/syntax/decorator_module_warning.mdx index 7af8eae61..4772d0e2e 100644 --- a/misc_docs/syntax/decorator_module_warning.mdx +++ b/misc_docs/syntax/decorator_module_warning.mdx @@ -6,7 +6,7 @@ summary: "This is the `@@warning` decorator." category: "decorators" --- -The `@@warning` decorator is used to modify the enabled compiler warnings for the current module. See [here](/docs/manual/latest/warning-numbers) for all available warning numbers. +The `@@warning` decorator is used to modify the enabled compiler warnings for the current module. See [here](/docs/manual/latest/warning-numbers) for all available warning numbers. Prefix the warning number with `+` or `-` to enable or disable respectively. ### Examples