Skip to content

Commit ce2e84f

Browse files
authored
Merge pull request #283 from LasseRosenow/pr/fix-typo
Fix typos
2 parents 9aedd1e + f5ef278 commit ce2e84f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/writing-reactors/actions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ An action declaration has one of the following forms:
2121
```
2222

2323
The `min_delay`, `min_spacing`, and `policy` are all optional.
24-
If only one argument is given in parentheses, then it is interpreted as an `min_delay`,
24+
If only one argument is given in parentheses, then it is interpreted as a `min_delay`,
2525
if two are given, then they are interpreted as `min_delay` and `min_spacing`.
2626
The `min_delay` and `min_spacing` are time values.
2727
The `policy` argument is a string that can be one of the following:

docs/writing-reactors/reactions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Each reaction declares its triggers, uses, and effects:
2626

2727
Reactions may optionally be named. The name is cosmetic and may serve as additional documentation. Note that reactions cannot be called like functions, even if they are named.
2828

29-
The reaction's behavior is defined by its body, which should be given in the target programming language. Note that the reaction body may only read from actions and ports that it has declared as triggers or uses, and it may only write to actions and ports that is has declared as an effect. The target code generators implement a scoping mechanism, such that only variables that are declared in the reaction signature are accessible in the reaction body.
29+
The reaction's behavior is defined by its body, which should be given in the target programming language. Note that the reaction body may only read from actions and ports that it has declared as triggers or uses, and it may only write to actions and ports that it has declared as an effect. The target code generators implement a scoping mechanism, such that only variables that are declared in the reaction signature are accessible in the reaction body.
3030

3131
In some targets, the reaction body may be omitted and the body can be defined natively in the target language in an external file. See the section on [Bodyless Reactions](#bodyless-reactions) for details.
3232

0 commit comments

Comments
 (0)