diff options
author | Ben Hood <0x6e6562@gmail.com> | 2008-09-27 21:55:38 +0100 |
---|---|---|
committer | Ben Hood <0x6e6562@gmail.com> | 2008-09-27 21:55:38 +0100 |
commit | 387c9a72b16d491104aaf67069c20a987f3dc418 (patch) | |
tree | 5318dfa0024e8e65b18feca1a44d506c90e91555 /src/rabbit_misc.erl | |
parent | 733ac828df24d7ddcbc534e24627128df565a610 (diff) | |
download | rabbitmq-server-387c9a72b16d491104aaf67069c20a987f3dc418.tar.gz |
Binned resource() type
Diffstat (limited to 'src/rabbit_misc.erl')
-rw-r--r-- | src/rabbit_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index e432db59..ad715cf7 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -68,7 +68,7 @@ -spec(get_config/2 :: (atom(), A) -> A). -spec(set_config/2 :: (atom(), any()) -> 'ok'). -spec(dirty_read/1 :: ({atom(), any()}) -> {'ok', any()} | not_found()). --spec(r/3 :: (vhost() | resource(), K, resource_name()) -> r(K) +-spec(r/3 :: (vhost() | r(atom()), K, resource_name()) -> r(K) when is_subtype(K, atom())). -spec(r/2 :: (vhost(), K) -> #resource{virtual_host :: vhost(), kind :: K, |