diff options
author | Kostis Sagonas <[email protected]> | 2010-09-24 15:22:47 +0300 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2010-09-24 15:22:47 +0300 |
commit | 7c64e547eff945059732384617676b1cafc11117 (patch) | |
tree | ebfeb34864eed9305c74ed57ce3185219a84a742 /lib/stdlib/src/ordsets.erl | |
parent | dd51118499209bbd91c0092d9778897026bde4c6 (diff) | |
download | otp-7c64e547eff945059732384617676b1cafc11117.tar.gz otp-7c64e547eff945059732384617676b1cafc11117.tar.bz2 otp-7c64e547eff945059732384617676b1cafc11117.zip |
Correct erroneous specs; strengthen some others
Diffstat (limited to 'lib/stdlib/src/ordsets.erl')
-rw-r--r-- | lib/stdlib/src/ordsets.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/ordsets.erl b/lib/stdlib/src/ordsets.erl index 05041c15f1..e992b66714 100644 --- a/lib/stdlib/src/ordsets.erl +++ b/lib/stdlib/src/ordsets.erl @@ -147,7 +147,7 @@ intersection(_, []) -> %% intersection([OrdSet]) -> OrdSet. %% Return the intersection of the list of ordered sets. --spec intersection([ordset(_)]) -> ordset(_). +-spec intersection([ordset(_),...]) -> ordset(_). intersection([S1,S2|Ss]) -> intersection1(intersection(S1, S2), Ss); |