[erlang-patches] gsn_fsm: Minor doc typo, return -> result

Haitao Li lihaitao@REDACTED
Mon Aug 8 12:19:44 CEST 2011


Hi,

Fix minor typo in gen_fsm documentation.

https://github.com/lht/otp/commits/fix-gen-fsm-doc-typo


diff --git a/lib/stdlib/doc/src/gen_fsm.xml b/lib/stdlib/doc/src/gen_fsm.xml
index d15383c..4900a8f 100644
--- a/lib/stdlib/doc/src/gen_fsm.xml
+++ b/lib/stdlib/doc/src/gen_fsm.xml
@@ -438,7 +438,7 @@ gen_fsm:sync_send_all_state_event ----->
Module:handle_sync_event/4
       <fsummary>Initialize process and internal state name and state
data.</fsummary>
       <type>
         <v>Args = term()</v>
-        <v>Return = {ok,StateName,StateData} |
{ok,StateName,StateData,Timeout}</v>
+        <v>Result = {ok,StateName,StateData} |
{ok,StateName,StateData,Timeout}</v>
        <v>  | {ok,StateName,StateData,hibernate}</v>
         <v>  | {stop,Reason} | ignore</v>
         <v> StateName = atom()</v>

/Haitao



More information about the erlang-patches mailing list