aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2009-12-08 17:50:28 +0000
committerErlang/OTP <[email protected]>2009-12-08 17:50:28 +0000
commit2ff9f0148d4f75990105946eab359074aa83a52d (patch)
treeb2c01a57f7de3b20d5e723a926f2424c6438d0bb
parent75ec723f1dcb6e76b481e64f01d72a43df39b276 (diff)
parent1556a6af97ebcf0bc47d3d2ac7e7ee6781507019 (diff)
downloadotp-2ff9f0148d4f75990105946eab359074aa83a52d.tar.gz
otp-2ff9f0148d4f75990105946eab359074aa83a52d.tar.bz2
otp-2ff9f0148d4f75990105946eab359074aa83a52d.zip
Merge branch 'ay/split_binary_docfix' into ccase/r13b04_dev
* ay/split_binary_docfix: documentation: Fix erlang:split_binary/2 Pos argument
-rw-r--r--erts/doc/src/erlang.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index fd4447009a..3f54d0a6f9 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4641,7 +4641,7 @@ true</pre>
<fsummary>Split a binary into two</fsummary>
<type>
<v>Bin = Bin1 = Bin2 = binary()</v>
- <v>Pos = 1..byte_size(Bin)</v>
+ <v>Pos = 0..byte_size(Bin)</v>
</type>
<desc>
<p>Returns a tuple containing the binaries which are the result