aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/design_principles/statem.xml
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-08-09 08:59:51 +0200
committerRaimo Niskanen <[email protected]>2016-08-10 09:56:39 +0200
commit3a60545091d3075e23c4a7af8c18b3641bb084e2 (patch)
treec64e28ad5b8b74517533708aedbcf50a9e05f13b /system/doc/design_principles/statem.xml
parentadf04d0c3dbb20e539892a1262078eb5a6538c97 (diff)
downloadotp-3a60545091d3075e23c4a7af8c18b3641bb084e2.tar.gz
otp-3a60545091d3075e23c4a7af8c18b3641bb084e2.tar.bz2
otp-3a60545091d3075e23c4a7af8c18b3641bb084e2.zip
Doc fixes
Diffstat (limited to 'system/doc/design_principles/statem.xml')
-rw-r--r--system/doc/design_principles/statem.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml
index 1351997bc1..f785ca9650 100644
--- a/system/doc/design_principles/statem.xml
+++ b/system/doc/design_principles/statem.xml
@@ -608,7 +608,7 @@ init(Args) ->
callback function <c>terminate(shutdown, State, Data)</c>.
</p>
<p>
- In the following example, function <c>terminate/3</c>
+ In this example, function <c>terminate/3</c>
locks the door if it is open, so we do not accidentally leave the door
open when the supervision tree terminates:
</p>
@@ -1217,7 +1217,8 @@ format_status(Opt, [_PDict,State,Data]) ->
<seealso marker="stdlib:gen_statem#Module:format_status/2"><c>Module:format_status/2</c></seealso>
function. If you do not, a default implementation is used that
does the same as this example function without filtering
- the <c>Data</c> term, that is, <c>StateData = {State,Data}</c>.
+ the <c>Data</c> term, that is, <c>StateData = {State,Data}</c>,
+ in this example containing sensitive information.
</p>
</section>