diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2011-09-22 00:24:15 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-09-22 00:24:15 +0100 |
| commit | 1b20604a24263adbb47b4d018866a058f93eead8 (patch) | |
| tree | 53802957f6f6bd641713553dd6682602d01c5e3e /src | |
| parent | e9dc1ba83c3a05e015deab341e6cb6608e3a7e37 (diff) | |
| download | rabbitmq-server-git-1b20604a24263adbb47b4d018866a058f93eead8.tar.gz | |
correct a spec that has been wrong for ages
it helps to occasionally look more closely at the dialyzer output
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_binding.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl index 43c26941da..e625a427e4 100644 --- a/src/rabbit_binding.erl +++ b/src/rabbit_binding.erl @@ -40,7 +40,7 @@ 'source_and_destination_not_found')). -type(bind_ok_or_error() :: 'ok' | bind_errors() | rabbit_types:error('binding_not_found')). --type(bind_res() :: bind_ok_or_error() | rabbit_misc:const(bind_ok_or_error())). +-type(bind_res() :: bind_ok_or_error() | rabbit_misc:thunk(bind_ok_or_error())). -type(inner_fun() :: fun((rabbit_types:exchange(), rabbit_types:exchange() | rabbit_types:amqqueue()) -> |
