From 7c64e547eff945059732384617676b1cafc11117 Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Fri, 24 Sep 2010 15:22:47 +0300 Subject: Correct erroneous specs; strengthen some others --- lib/stdlib/src/ordsets.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stdlib/src/ordsets.erl') 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); -- cgit v1.2.3