Skip to content

Commit

Permalink
Update @@warning doc to clarify +/- (#874)
Browse files Browse the repository at this point in the history
* Update @warning doc to clarify +/-

* Update @@warning doc to clarify +/-

---------

Co-authored-by: Jimmy Timmons <[email protected]>
  • Loading branch information
jimmytimmons and Jimmy Timmons authored May 30, 2024
1 parent 969d596 commit 0035ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc_docs/syntax/decorator_module_warning.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0035ddb

Please sign in to comment.