Skip to content
This repository
Browse code

Work around weird edoc spec/doc ordering bug

  • Loading branch information...
commit accfd881e92ae59946444987568217ba4bfa80c4 1 parent d4f9672
Andrew Thompson authored March 24, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/gen_smtp_client.erl
2  src/gen_smtp_client.erl
@@ -54,10 +54,10 @@
54 54
 send(Email, Options) ->
55 55
 	send(Email, Options, undefined).
56 56
 
57  
--spec send(Email :: {string() | binary(), [string() | binary(), ...], string() | binary() | function()}, Options :: list(), Callback :: function() | 'undefined') -> {'ok', pid()} | {'error', any()}.
58 57
 %% @doc Send an email nonblocking and invoke a callback with the result of the send.
59 58
 %% The callback will receive either `ok',  `{error, Type, Message}' or `{exit, ExitReason}'
60 59
 %% as the single argument.
  60
+-spec send(Email :: {string() | binary(), [string() | binary(), ...], string() | binary() | function()}, Options :: list(), Callback :: function() | 'undefined') -> {'ok', pid()} | {'error', any()}.
61 61
 send(Email, Options, Callback) ->
62 62
 	NewOptions = lists:ukeymerge(1, lists:sort(Options),
63 63
 		lists:sort(?DEFAULT_OPTIONS)),

0 notes on commit accfd88

Please sign in to comment.
Something went wrong with that request. Please try again.