refactor: use more consistent return types

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
This commit is contained in:
Thales Macedo Garitezi 2023-09-13 10:49:45 -03:00 committed by GitHub
parent f55f6dc779
commit 803b69d878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ match(Topic, Tab) ->
%% @doc Match given topic against the index and return _all_ matches.
%% If `unique` option is given, return only unique matches by record ID.
-spec matches(emqx_types:topic(), ets:table(), emqx_trie_search:opts()) -> [key(_ID)].
-spec matches(emqx_types:topic(), ets:table(), emqx_trie_search:opts()) -> [match(_ID)].
matches(Topic, Tab, Opts) ->
emqx_trie_search:matches(Topic, make_nextf(Tab), Opts).