aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-04-14 08:17:06 +0000
committerErlang/OTP <[email protected]>2010-04-14 08:17:06 +0000
commitded4c4eb3916b5a07a9ffd7635d31e51c0cdf0c8 (patch)
treea69f5afce5ce86b36abbd0004f49583705384d8b /lib/stdlib
parent99c0cee8e32b3065b0b0568e49fd334648b32e41 (diff)
downloadotp-ded4c4eb3916b5a07a9ffd7635d31e51c0cdf0c8.tar.gz
otp-ded4c4eb3916b5a07a9ffd7635d31e51c0cdf0c8.tar.bz2
otp-ded4c4eb3916b5a07a9ffd7635d31e51c0cdf0c8.zip
Fix spec for ets:to_dets/2
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/ets.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/ets.erl b/lib/stdlib/src/ets.erl
index 6fc234a16a..ef9c8f0cfb 100644
--- a/lib/stdlib/src/ets.erl
+++ b/lib/stdlib/src/ets.erl
@@ -230,7 +230,7 @@ from_dets(EtsTable, DetsTable) ->
erlang:error(Unexpected,[EtsTable,DetsTable])
end.
--spec to_dets(tab(), dets:tab_name()) -> tab().
+-spec to_dets(tab(), dets:tab_name()) -> dets:tabname().
to_dets(EtsTable, DetsTable) ->
case (catch dets:from_ets(DetsTable, EtsTable)) of