aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/array.erl
diff options
context:
space:
mode:
authorВеселов Андрей <[email protected]>2017-07-24 13:22:29 +0300
committerВеселов Андрей <[email protected]>2017-07-24 13:27:14 +0300
commitb1b81473c5531bb765bcff634b8bdaf40b63b16e (patch)
tree90d48fcc64aeb3f0ab382ecef56449065c3f1b3b /lib/stdlib/src/array.erl
parent87e1b65dea251948ddd6311e846f71d820c421d8 (diff)
downloadotp-b1b81473c5531bb765bcff634b8bdaf40b63b16e.tar.gz
otp-b1b81473c5531bb765bcff634b8bdaf40b63b16e.tar.bz2
otp-b1b81473c5531bb765bcff634b8bdaf40b63b16e.zip
Fix array spec typo
Diffstat (limited to 'lib/stdlib/src/array.erl')
-rw-r--r--lib/stdlib/src/array.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/array.erl b/lib/stdlib/src/array.erl
index 079b761463..a237eaa489 100644
--- a/lib/stdlib/src/array.erl
+++ b/lib/stdlib/src/array.erl
@@ -1603,7 +1603,7 @@ foldl_2(I, E, A, Ix, F, D, N, R, S) ->
Ix + S, F, D, N, R, S).
-spec foldl_3(pos_integer(), _, A, array_indx(),
- fun((array_indx, _, A) -> B), integer()) -> B.
+ fun((array_indx(), _, A) -> B), integer()) -> B.
foldl_3(I, E, A, Ix, F, N) when I =< N ->
foldl_3(I+1, E, F(Ix, element(I, E), A), Ix+1, F, N);