aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen_statem.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/src/gen_statem.erl')
-rw-r--r--lib/stdlib/src/gen_statem.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index 17d361efc2..cc09efc140 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -200,7 +200,7 @@
OldState :: state(),
OldData :: data(),
Extra :: term()) ->
- {ok, {NewState :: state(), NewData :: data()}}.
+ {ok, NewState :: state(), NewData :: data()}.
%% Format the callback module state in some sensible that is
%% often condensed way. For StatusOption =:= 'normal' the perferred
@@ -619,7 +619,7 @@ system_code_change(
Result -> Result
end
of
- {ok,{NewState,NewData}} ->
+ {ok,NewState,NewData} ->
{ok,
S#{
state := NewState,