aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-04-16 11:07:04 +0200
committerRaimo Niskanen <[email protected]>2018-04-17 08:57:42 +0200
commit549f6b20ef9c881d8c186739207be69cd8d2f7f7 (patch)
treec9c410de70cb80c33a55a2fac4b5c19fb572589a /lib
parentb2a68e1e20b9ae41490e5d2777ed5c4f1147b26b (diff)
downloadotp-549f6b20ef9c881d8c186739207be69cd8d2f7f7.tar.gz
otp-549f6b20ef9c881d8c186739207be69cd8d2f7f7.tar.bz2
otp-549f6b20ef9c881d8c186739207be69cd8d2f7f7.zip
Fix after feedback on 'When to use'
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/doc/src/gen_statem.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index fe391b329a..28ea3fa00b 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -71,7 +71,7 @@
had and adds some really useful:
</p>
<list type="bulleted">
- <item>Gathered state code</item>
+ <item>Co-located state code</item>
<item>Arbitrary term state</item>
<item>Event postponing</item>
<item>Self-generated events</item>
@@ -175,7 +175,7 @@ erlang:'!' -----> Module:StateName/3
is <c>state_functions</c>, the state must be an atom and
is used as the state callback name; see
<seealso marker="#Module:StateName/3"><c>Module:StateName/3</c></seealso>.
- This gathers all code for a specific state
+ This co-locates all code for a specific state
in one function as the <c>gen_statem</c> engine
branches depending on state name.
Note the fact that the callback function