aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-10-08 11:17:20 +0100
committerMichael Williamson <mike@zwobble.org>2023-10-08 11:17:20 +0100
commitcf0e7fa6e20b49b7a2ccd755aead11f2e78d18a9 (patch)
treed6eb26d7b958d98cf6edac5cbe517e4ea2637fbc /src/main/java
parent7d2cd76392050675e766d7cc8bd8ca3a6860cf5d (diff)
Clarify that results aren't returned from the function
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java b/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java
index f9dc32a4..7e8cc59f 100644
--- a/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java
+++ b/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java
@@ -10,7 +10,7 @@ import java.util.List;
* If the condition is true, execute the instructions in the "true" body,
* otherwise execute the instructions in the "false" body.
* <p>
- * Each block must return the same number of results as targets. Each result
+ * Each block must have the same number of results as targets. Each result
* is assigned to the target with the same index.
*/
public record PatioIf(