Skip to content

rabbit_db*: Fix EDoc syntax errors (backport #7461) #7462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions deps/rabbit/src/rabbit_db_binding.erl
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,13 @@ get_all_for_destination_in_mnesia(Dst) ->
-spec fold(Fun, Acc) -> Acc when
Fun :: fun((Binding :: rabbit_types:binding(), Acc) -> Acc),
Acc :: any().
%% @doc Folds over all the bindings, making it more efficient than `get_all()` and
%% folding over the returned binding list.
%% Just used by prometheus_rabbitmq_core_metrics_collector to iterate over the bindings.
%% @doc Folds over all the bindings, making it more efficient than `get_all()'
%% and folding over the returned binding list.
%%
%% @returns the fold accumulator
%% Just used by prometheus_rabbitmq_core_metrics_collector to iterate over the
%% bindings.
%%
%% @returns the fold accumulator.
%%
%% @private

Expand Down
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_db_exchange.erl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ count_in_mnesia() ->
%% `UpdateFun'.
%%
%% @returns the updated exchange record if the record existed and the
%% update succeeded. It returns `not_found` if the transaction fails.
%% update succeeded. It returns `not_found' if the transaction fails.
%%
%% @private

Expand Down
3 changes: 2 additions & 1 deletion deps/rabbit/src/rabbit_db_queue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ exists_in_mnesia(QName) ->
QName :: rabbit_amqqueue:name(),
Exists :: boolean().
%% @doc Indicates if queue named `QName' exists using a consistent read.
%% Just used by `rabbit_classic_queue:is_recoverable` for transient queues.
%%
%% Just used by `rabbit_classic_queue:is_recoverable()' for transient queues.
%%
%% @returns true if the queue exists, false otherwise.
%%
Expand Down