chore: fix typos

This commit is contained in:
JimMoen 2024-05-20 10:43:54 +08:00
parent 4f341bef8b
commit bb3c66638c
No known key found for this signature in database
17 changed files with 17 additions and 17 deletions

View File

@ -67,7 +67,7 @@
-type t() :: #inflight{}. -type t() :: #inflight{}.
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec new(non_neg_integer()) -> t(). -spec new(non_neg_integer()) -> t().

View File

@ -192,7 +192,7 @@
-endif. -endif.
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec create_tables() -> ok. -spec create_tables() -> ok.

View File

@ -30,7 +30,7 @@
-define(LOADER, emqx_secret_loader). -define(LOADER, emqx_secret_loader).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
%% @doc Wrap a term in a secret closure. %% @doc Wrap a term in a secret closure.

View File

@ -33,7 +33,7 @@ introduced_in() ->
"5.0.8". "5.0.8".
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec send(node(), pid(), emqx_types:topic(), term()) -> true. -spec send(node(), pid(), emqx_types:topic(), term()) -> true.

View File

@ -244,7 +244,7 @@
]). ]).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec base_dir() -> file:filename(). -spec base_dir() -> file:filename().

View File

@ -56,7 +56,7 @@
-record(?shard_sup, {db, shard}). -record(?shard_sup, {db, shard}).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec start_db(emqx_ds:db(), emqx_ds_replication_layer:builtin_db_opts()) -> {ok, pid()}. -spec start_db(emqx_ds:db(), emqx_ds_replication_layer:builtin_db_opts()) -> {ok, pid()}.

View File

@ -91,7 +91,7 @@
}). }).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
%% @doc Create an empty trie %% @doc Create an empty trie

View File

@ -159,7 +159,7 @@
). ).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec print_status() -> ok. -spec print_status() -> ok.

View File

@ -168,7 +168,7 @@
-endif. -endif.
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
%%================================================================================ %%================================================================================

View File

@ -81,7 +81,7 @@
}). }).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
%%================================================================================ %%================================================================================

View File

@ -30,7 +30,7 @@
-define(SUP, ?MODULE). -define(SUP, ?MODULE).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec start_link() -> {ok, pid()}. -spec start_link() -> {ok, pid()}.

View File

@ -31,7 +31,7 @@
-export([introduced_in/0, deprecated_since/0]). -export([introduced_in/0, deprecated_since/0]).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec drop_db([node()], emqx_ds:db()) -> [emqx_rpc:erpc(ok)]. -spec drop_db([node()], emqx_ds:db()) -> [emqx_rpc:erpc(ok)].

View File

@ -35,7 +35,7 @@
-export([introduced_in/0, deprecated_since/0]). -export([introduced_in/0, deprecated_since/0]).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec drop_db([node()], emqx_ds:db()) -> -spec drop_db([node()], emqx_ds:db()) ->

View File

@ -37,7 +37,7 @@
-export([introduced_in/0, deprecated_since/0]). -export([introduced_in/0, deprecated_since/0]).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec drop_db([node()], emqx_ds:db()) -> -spec drop_db([node()], emqx_ds:db()) ->

View File

@ -40,7 +40,7 @@
-export([introduced_in/0]). -export([introduced_in/0]).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
-spec drop_db([node()], emqx_ds:db()) -> -spec drop_db([node()], emqx_ds:db()) ->

View File

@ -853,7 +853,7 @@ case19_serialize_ctrl(_Config) ->
5, 51, 2>> = Body, 5, 51, 2>> = Body,
Crc = make_crc(Body, undefined), Crc = make_crc(Body, undefined),
DataUnit1 = <<"The alarm has occured!">>, DataUnit1 = <<"The alarm has occurred!">>,
Frame1 = #frame{ Frame1 = #frame{
cmd = ?CMD_TERMINAL_CTRL, cmd = ?CMD_TERMINAL_CTRL,
ack = ?ACK_IS_CMD, ack = ?ACK_IS_CMD,

View File

@ -21,7 +21,7 @@
-export([cmd/1]). -export([cmd/1]).
%%================================================================================ %%================================================================================
%% API funcions %% API functions
%%================================================================================ %%================================================================================
load() -> load() ->