aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-10-11 10:30:10 +0200
committerGitHub <[email protected]>2017-10-11 10:30:10 +0200
commita49cfca9f9b42c18a0d1127348f68f2827dd126f (patch)
treefa9d275342e01d21088675648515d0771b32ab2a
parent32ff5b0372e3dd4db8d9a30de2e0b9995d3fc883 (diff)
parent5550886b70aeec7351276de5379e9c1f1d123ec0 (diff)
downloadotp-a49cfca9f9b42c18a0d1127348f68f2827dd126f.tar.gz
otp-a49cfca9f9b42c18a0d1127348f68f2827dd126f.tar.bz2
otp-a49cfca9f9b42c18a0d1127348f68f2827dd126f.zip
Merge pull request #1598 from ruanpienaar/patch-1
Update gen_statem.erl Correct typo in comment: perferred -> preferred
-rw-r--r--lib/stdlib/src/gen_statem.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index 1110d18af6..57b6f7ee34 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -296,7 +296,7 @@
(Reason :: term()).
%% Format the callback module state in some sensible that is
-%% often condensed way. For StatusOption =:= 'normal' the perferred
+%% often condensed way. For StatusOption =:= 'normal' the preferred
%% return term is [{data,[{"State",FormattedState}]}], and for
%% StatusOption =:= 'terminate' it is just FormattedState.
-callback format_status(