Skip to content

Commit 8e88f6c

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) (cherry picked from commit 3fa1b5f)
1 parent 48be6a5 commit 8e88f6c

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
@@ -55,9 +55,9 @@
5555

5656
%%----------------------------------------------------------------------------
5757

58-
-spec new(rabbit_types:exchange(),
58+
-spec new(rabbit_types:binding_source(),
5959
key(),
60-
rabbit_types:exchange() | amqqueue:amqqueue(),
60+
rabbit_types:binding_destination(),
6161
rabbit_framing:amqp_table()) ->
6262
rabbit_types:binding().
6363

0 commit comments

Comments
 (0)