diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit.erl | 4 | ||||
| -rw-r--r-- | src/rabbit_channel.erl | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index bbe987893b..9052f2f935 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -188,8 +188,8 @@ -spec(maybe_insert_default_data/0 :: () -> 'ok'). -spec(boot_delegate/0 :: () -> 'ok'). -spec(recover/0 :: () -> 'ok'). --spec(get_env/1 :: (atom()) -> any()). --spec(set_env/2 :: (atom(), any()) -> 'ok'). +-spec(get_env/1 :: (atom()) -> term()). +-spec(set_env/2 :: (atom(), term()) -> 'ok'). -spec(unset_env/1 :: (atom()) -> 'ok'). -endif. diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 301efb43e3..e5e61e56b9 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -22,8 +22,9 @@ -export([start_link/10, do/2, do/3, flush/1, shutdown/1]). -export([send_command/2, deliver/4, flushed/2, confirm/2]). --export([list/0, info_keys/0, info/1, info/2, info_all/0, info_all/1]). --export([emit_stats/1, ready_for_close/1, refresh_config_all/0]). +-export([list/0, info_keys/0, info/1, info/2, info_all/0, info_all/1, + refresh_config_all/0]). +-export([emit_stats/1, ready_for_close/1]). -export([init/1, terminate/2, code_change/3, handle_call/3, handle_cast/2, handle_info/2, handle_pre_hibernate/1, prioritise_call/3, |
