diff options
author | Ricardo Catalinas Jiménez <[email protected]> | 2012-02-05 01:13:27 +0100 |
---|---|---|
committer | Ricardo Catalinas Jiménez <[email protected]> | 2012-02-05 01:13:27 +0100 |
commit | b9f1047d366e255459b339f20f7ce408313b3186 (patch) | |
tree | 5f9d0a8255abc1f54a9434c3c4c5a4d81c47c719 /lib | |
parent | ab2ba6f1b0713fbe5c78f67aeefb73ffc006e995 (diff) | |
download | otp-b9f1047d366e255459b339f20f7ce408313b3186.tar.gz otp-b9f1047d366e255459b339f20f7ce408313b3186.tar.bz2 otp-b9f1047d366e255459b339f20f7ce408313b3186.zip |
Fix the type spec from the doc of binary:part/3
As the doc explains, the Len of part() can be negative.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/doc/src/binary.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/binary.xml b/lib/stdlib/doc/src/binary.xml index 88ce77e0d0..7ce2defb72 100644 --- a/lib/stdlib/doc/src/binary.xml +++ b/lib/stdlib/doc/src/binary.xml @@ -505,7 +505,7 @@ <type> <v>Subject = binary()</v> <v>Pos = integer() >= 0</v> - <v>Len = integer() >= 0</v> + <v>Len = integer()</v> </type> <desc> <p>The same as <c>part(Subject, {Pos, Len})</c>.</p> |