summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_backing_queue.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_backing_queue.erl b/src/rabbit_backing_queue.erl
index 4f71c1a8e1..352e76fd0c 100644
--- a/src/rabbit_backing_queue.erl
+++ b/src/rabbit_backing_queue.erl
@@ -69,8 +69,8 @@ behaviour_info(callbacks) ->
%% (i.e. saves the round trip through the backing queue).
{publish_delivered, 4},
- %% Drop messages in the queue while the supplied predicate
- %% returns true and return the new state.
+ %% Drop messages from the head of the queue while the supplied
+ %% predicate returns true.
{dropwhile, 2},
%% Produce the next message.