File 0164-Update-system-doc-design_principles-statem.xml.patch of Package erlang
From d3ea0d1875955ea2d98b46b53b419dbd8a546410 Mon Sep 17 00:00:00 2001
From: Bryan Paxton <39971740+starbelly@users.noreply.github.com>
Date: Mon, 12 Sep 2022 10:38:35 -0500
Subject: [PATCH 4/8] Update system/doc/design_principles/statem.xml
Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
---
system/doc/design_principles/statem.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml
index 30aa0444e8..01140c5236 100644
--- a/system/doc/design_principles/statem.xml
+++ b/system/doc/design_principles/statem.xml
@@ -1912,7 +1912,7 @@ do_unlock() ->
to implicitly postpone any events to the <c>locked</c> state.
</p>
<p>
- A receive all should never be used from a <c>gen_statem</c>
+ A catch-all receive should never be used from a <c>gen_statem</c>
behaviour (or from any <c>gen_*</c> behaviour),
as the receive statement is within the <c>gen_*</c> engine itself.
Using a receive with a catch all match may result in system messages
--
2.35.3