Skip to content

Commit a2d31be

Browse files
committed
improve the wording based on PR review feedback
1 parent f0b3909 commit a2d31be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/codeql/ql-language-reference/annotations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ own body, or they must inherit from another class that overrides ``isSource``:
105105

106106
**Available for**: |classes|, |algebraic datatypes|, |type unions|, |non-member predicates|, |modules|, |aliases|, |signatures|
107107

108-
The ``additional`` annotation can be used on declarations directly inside of modules that implement |module signatures|.
109-
All declarations in such modules that are not required by a module signature must be annotated with ``additional``.
108+
The ``additional`` annotation can be used on declarations in explicit modules.
109+
All declarations that are not required by a module signature in modules that implement |module signatures| must be annotated with ``additional``.
110110

111111
Omitting ``additional`` on such declarations, or using the annotation in any other context, will result in a compiler error.
112112
Other than that, the annotation has no effect.

0 commit comments

Comments
 (0)