summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_exchange_decorator.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_exchange_decorator.erl b/src/rabbit_exchange_decorator.erl
index 45d0cbf50b..040b55dbb0 100644
--- a/src/rabbit_exchange_decorator.erl
+++ b/src/rabbit_exchange_decorator.erl
@@ -58,9 +58,9 @@
[rabbit_types:binding()]) -> 'ok'.
%% Decorators can optionally implement route/2 which allows additional
-%% queues to be added to the routing decision.
+%% destinations to be added to the routing decision.
%% -callback route(rabbit_types:exchange(), rabbit_types:delivery()) ->
-%% [rabbit_amqqueue:name() | rabbit_types:exchange()].
+%% [rabbit_amqqueue:name() | rabbit_exchange:name()].
-else.