diff --git a/src/emysql.erl b/src/emysql.erl index 2e810d41..2591f49c 100644 --- a/src/emysql.erl +++ b/src/emysql.erl @@ -655,10 +655,10 @@ result_type(#eof_packet{}) -> eof. %% fetch_foo() -> %% Res = emysql:execute(pool1, "select * from foo"), %% Res:as_dict(Res). --spec as_dict(Result) -> Dict - when - Result :: #result_packet{}, - Dict :: dict(). +%% @spec as_dict(Result) -> Dict +%% when +%% Result :: #result_packet{}, +%% Dict :: dict(). as_dict(Res) -> emysql_conv:as_dict(Res).