diff options
| author | Rob Harrop <rob@rabbitmq.com> | 2011-06-20 12:50:06 +0100 |
|---|---|---|
| committer | Rob Harrop <rob@rabbitmq.com> | 2011-06-20 12:50:06 +0100 |
| commit | e120bd3802b722b12a40d82b9ea14d89e417c11d (patch) | |
| tree | ca5636d450fa838dbe51305d1d7e0ed5ca031039 /include | |
| parent | 1c1deede6b1372d9eff102c2db558989e4e70917 (diff) | |
| download | rabbitmq-server-git-e120bd3802b722b12a40d82b9ea14d89e417c11d.tar.gz | |
Fixed up spec for msg_lookup_callback to contstrain input and output types to be the same
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index cc7cca04e6..0044174c49 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -33,7 +33,7 @@ -type(msg_lookup_fun() :: fun((any(), state()) -> msg_lookup_result())). -type(msg_lookup_callback() :: - fun((msg_lookup_fun(), {any(), state()}) -> {any(), state()})). + fun((msg_lookup_fun(), {A, state()}) -> {A, state()})). -spec(start/1 :: ([rabbit_amqqueue:name()]) -> 'ok'). -spec(stop/0 :: () -> 'ok'). |
