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

Henrik Nord henrik@REDACTED
Mon Aug 8 15:02:18 CEST 2011


On 08/08/2011 12:19 PM, Haitao Li wrote:
> 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
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Thank you for the contribution!


-- 
/Henrik Nord Erlang/OTP




More information about the erlang-patches mailing list