Skip to content

Commit e85ca4e

Browse files
committed
rabbit_db*: Fix EDoc syntax errors
It's easy to mix `...` from Markdown and `...' from EDoc. While here, wrap too long lines.
1 parent 0058380 commit e85ca4e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

deps/rabbit/src/rabbit_db_binding.erl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,13 @@ get_all_for_destination_in_mnesia(Dst) ->
343343
-spec fold(Fun, Acc) -> Acc when
344344
Fun :: fun((Binding :: rabbit_types:binding(), Acc) -> Acc),
345345
Acc :: any().
346-
%% @doc Folds over all the bindings, making it more efficient than `get_all()` and
347-
%% folding over the returned binding list.
348-
%% Just used by prometheus_rabbitmq_core_metrics_collector to iterate over the bindings.
346+
%% @doc Folds over all the bindings, making it more efficient than `get_all()'
347+
%% and folding over the returned binding list.
349348
%%
350-
%% @returns the fold accumulator
349+
%% Just used by prometheus_rabbitmq_core_metrics_collector to iterate over the
350+
%% bindings.
351+
%%
352+
%% @returns the fold accumulator.
351353
%%
352354
%% @private
353355

deps/rabbit/src/rabbit_db_exchange.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ count_in_mnesia() ->
196196
%% `UpdateFun'.
197197
%%
198198
%% @returns the updated exchange record if the record existed and the
199-
%% update succeeded. It returns `not_found` if the transaction fails.
199+
%% update succeeded. It returns `not_found' if the transaction fails.
200200
%%
201201
%% @private
202202

deps/rabbit/src/rabbit_db_queue.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,8 @@ exists_in_mnesia(QName) ->
489489
QName :: rabbit_amqqueue:name(),
490490
Exists :: boolean().
491491
%% @doc Indicates if queue named `QName' exists using a consistent read.
492-
%% Just used by `rabbit_classic_queue:is_recoverable` for transient queues.
492+
%%
493+
%% Just used by `rabbit_classic_queue:is_recoverable()' for transient queues.
493494
%%
494495
%% @returns true if the queue exists, false otherwise.
495496
%%

0 commit comments

Comments
 (0)