diff options
author | Lukas Larsson <[email protected]> | 2013-02-19 18:21:11 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-02-19 18:21:11 +0100 |
commit | a9f6b92e7468c4dab5650c3e6f67db2e32d08752 (patch) | |
tree | a4a574f6fc2da0cf4b0fa0650311cd34a888596d /lib | |
parent | f6f7f67b60b3b67e79a2a4d23542bf5c74542fd3 (diff) | |
parent | d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91 (diff) | |
download | otp-a9f6b92e7468c4dab5650c3e6f67db2e32d08752.tar.gz otp-a9f6b92e7468c4dab5650c3e6f67db2e32d08752.tar.bz2 otp-a9f6b92e7468c4dab5650c3e6f67db2e32d08752.zip |
Merge branch 'lukas/stdlib/binary_typespec'
* lukas/stdlib/binary_typespec:
Updated to fit spec of -type part()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/src/binary.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl index 41b6ab1d5f..de18b6cd54 100644 --- a/lib/stdlib/src/binary.erl +++ b/lib/stdlib/src/binary.erl @@ -186,7 +186,7 @@ part(_, _) -> -spec part(Subject, Pos, Len) -> binary() when Subject :: binary(), Pos :: non_neg_integer(), - Len :: non_neg_integer(). + Len :: integer(). part(_, _, _) -> erlang:nif_error(undef). |