summaryrefslogtreecommitdiff
path: root/lib/stdlib/src/dets.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/src/dets.erl')
-rw-r--r--lib/stdlib/src/dets.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/dets.erl b/lib/stdlib/src/dets.erl
index 0488c2bef2..640ad7a81c 100644
--- a/lib/stdlib/src/dets.erl
+++ b/lib/stdlib/src/dets.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2022. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -149,7 +149,7 @@
proc :: 'undefined' | pid(), % the pid of the Dets process
match_program :: 'true'
| 'undefined'
- | {'match_spec', ets:comp_match_spec()}
+ | {'match_spec', ets:compiled_match_spec()}
}).
-record(open_args, {
@@ -321,7 +321,7 @@ foldl(Fun, Acc, Tab) ->
-spec from_ets(Name, EtsTab) -> 'ok' | {'error', Reason} when
Name :: tab_name(),
- EtsTab :: ets:tab(),
+ EtsTab :: ets:table(),
Reason :: term().
from_ets(DTab, ETab) ->
@@ -861,7 +861,7 @@ table_info(_Tab, _) ->
-spec to_ets(Name, EtsTab) -> EtsTab | {'error', Reason} when
Name :: tab_name(),
- EtsTab :: ets:tab(),
+ EtsTab :: ets:table(),
Reason :: term().
to_ets(DTab, ETab) ->