aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gb_sets.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-09-24 15:22:47 +0300
committerKostis Sagonas <[email protected]>2010-09-24 15:22:47 +0300
commit7c64e547eff945059732384617676b1cafc11117 (patch)
treeebfeb34864eed9305c74ed57ce3185219a84a742 /lib/stdlib/src/gb_sets.erl
parentdd51118499209bbd91c0092d9778897026bde4c6 (diff)
downloadotp-7c64e547eff945059732384617676b1cafc11117.tar.gz
otp-7c64e547eff945059732384617676b1cafc11117.tar.bz2
otp-7c64e547eff945059732384617676b1cafc11117.zip
Correct erroneous specs; strengthen some others
Diffstat (limited to 'lib/stdlib/src/gb_sets.erl')
-rw-r--r--lib/stdlib/src/gb_sets.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gb_sets.erl b/lib/stdlib/src/gb_sets.erl
index 086dc79b46..113f29e252 100644
--- a/lib/stdlib/src/gb_sets.erl
+++ b/lib/stdlib/src/gb_sets.erl
@@ -657,7 +657,7 @@ intersection_2([], _, As, S) ->
intersection_2(_, [], As, S) ->
{S, balance_revlist(As, S)}.
--spec intersection([gb_set()]) -> gb_set().
+-spec intersection([gb_set(),...]) -> gb_set().
intersection([S | Ss]) ->
intersection_list(S, Ss).