Skip to content

Commit 3fa1b5f

Browse files
HoloRinmergify[bot]
authored andcommitted
Update the spec for rabbit_binding:new/4 to match rabbit_types
(cherry picked from commit b63a9de) (cherry picked from commit 2ec3fcc)
1 parent 0784b02 commit 3fa1b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_binding.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656

5757
%%----------------------------------------------------------------------------
5858

59-
-spec new(rabbit_types:exchange(),
59+
-spec new(rabbit_types:binding_source(),
6060
key(),
61-
rabbit_types:exchange() | amqqueue:amqqueue(),
61+
rabbit_types:binding_destination(),
6262
rabbit_framing:amqp_table()) ->
6363
rabbit_types:binding().
6464

0 commit comments

Comments
 (0)