aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-03-01 08:31:58 +0100
committerRaimo Niskanen <[email protected]>2016-03-02 08:21:56 +0100
commit9dfb4e6cf574870ac6e6a5a2a507c989c64e7525 (patch)
tree04fca4bcdfefa8ea4b960b07b324f266baba600d /lib/stdlib/doc/src
parenta0c69303c971b4c65e5cd450dbe7de680aa58181 (diff)
downloadotp-9dfb4e6cf574870ac6e6a5a2a507c989c64e7525.tar.gz
otp-9dfb4e6cf574870ac6e6a5a2a507c989c64e7525.tar.bz2
otp-9dfb4e6cf574870ac6e6a5a2a507c989c64e7525.zip
Change code_change/4 to {ok,State,Data}
Diffstat (limited to 'lib/stdlib/doc/src')
-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 04b80d29ac..01be3099c1 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -241,7 +241,7 @@ stop() ->
terminate(_Reason, _State, _Data) ->
void.
code_change(_Vsn, State, Data, _Extra) ->
- {ok,{State,Data}}.
+ {ok,State,Data}.
init([]) ->
%% Set the callback mode and initial state + data.
%% Data is used only as a counter.
@@ -1359,7 +1359,7 @@ ok
<v>&nbsp;&nbsp;Vsn = term()</v>
<v>OldState = NewState = term()</v>
<v>Extra = term()</v>
- <v>Result = {ok,{NewState,NewData}} | Reason</v>
+ <v>Result = {ok,NewState,NewData} | Reason</v>
<v>
OldState = NewState =
<seealso marker="#type-state">state()</seealso>