Skip to content

Commit 5018128

Browse files
Bolpatntrel
andauthored
Apply suggestions from code review
Co-authored-by: Nick Treleaven <ntrel002@gmail.com>
1 parent fdc0b46 commit 5018128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/statement.dd

+2-2
Original file line numberDiff line numberDiff line change
@@ -833,15 +833,15 @@ $(CONSOLE
833833
be allocated for it on the heap instead of the stack.
834834
)
835835

836-
$(P $(B Important:) If apply functions catch any exceptions, ensure that those
836+
$(P $(B Important:) If an apply function catches any exceptions, ensure that those
837837
exceptions did not originate from the delegate. The user would expect
838838
exceptions thrown from a `foreach` body to both terminate the loop, and propagate outside
839839
the `foreach` body.
840840
)
841841

842842
$(H4 $(LNAME2 template-op-apply, Template `opApply`))
843843

844-
$(P `opApply` and `opApplyReverse` can also be a function templates,
844+
$(P `opApply` and `opApplyReverse` can also be function templates,
845845
which can optionally infer the types of parameters based on the $(I ForeachStatement).
846846
)
847847

0 commit comments

Comments
 (0)