diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-07-07 12:12:42 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-07-07 12:12:42 +0100 |
commit | e75093380c58fbdb46953507c50d211dc34aacfb (patch) | |
tree | 72fa3c4b2a59529a6b1ac1cba75d200d11856076 /src/rabbit_guid.erl | |
parent | 5f122da1e9de4bc315021127011aca19d15a1b33 (diff) | |
download | rabbitmq-server-e75093380c58fbdb46953507c50d211dc34aacfb.tar.gz |
Introduced and used ok_or_error2(A,B). Also verified everything seems happy under R13B03
Diffstat (limited to 'src/rabbit_guid.erl')
-rw-r--r-- | src/rabbit_guid.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_guid.erl b/src/rabbit_guid.erl index bce76615..af1c629f 100644 --- a/src/rabbit_guid.erl +++ b/src/rabbit_guid.erl @@ -52,8 +52,7 @@ -type(guid() :: binary()). --spec(start_link/0 :: - () -> rabbit_types:ok(pid()) | 'ignore' | rabbit_types:error(any())). +-spec(start_link/0 :: () -> 'ignore' | rabbit_types:ok_or_error2(pid(), any())). -spec(guid/0 :: () -> guid()). -spec(string_guid/1 :: (any()) -> string()). -spec(binstring_guid/1 :: (any()) -> binary()). |