aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorRicardo Catalinas Jiménez <[email protected]>2012-02-05 01:13:27 +0100
committerRicardo Catalinas Jiménez <[email protected]>2012-02-05 01:13:27 +0100
commitb9f1047d366e255459b339f20f7ce408313b3186 (patch)
tree5f9d0a8255abc1f54a9434c3c4c5a4d81c47c719 /lib/stdlib
parentab2ba6f1b0713fbe5c78f67aeefb73ffc006e995 (diff)
downloadotp-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/stdlib')
-rw-r--r--lib/stdlib/doc/src/binary.xml2
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>