Skip to content

Commit

Permalink
Fix mispelled type name in spec for ets:to_dets/2
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng authored and Erlang/OTP committed Apr 30, 2010
1 parent b328564 commit c7a4c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stdlib/src/ets.erl
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ from_dets(EtsTable, DetsTable) ->
erlang:error(Unexpected,[EtsTable,DetsTable])
end.

-spec to_dets(tab(), dets:tab_name()) -> dets:tabname().
-spec to_dets(tab(), dets:tab_name()) -> dets:tab_name().

to_dets(EtsTable, DetsTable) ->
case (catch dets:from_ets(DetsTable, EtsTable)) of
Expand Down

0 comments on commit c7a4c93

Please sign in to comment.