aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-09-30 13:25:40 +0200
committerHenrik Nord <[email protected]>2015-09-30 13:25:40 +0200
commita38743259d18bf22f3ea284864c50a3a2f15746f (patch)
tree0b498f0b630d46efa5b869aadcee117dca454b5e /erts
parent20e4adf7a4b274292883aeab6b169afcc1f1f0f4 (diff)
parentaf2dae8fba475cd216bc3860c8b867e235eb8748 (diff)
downloadotp-a38743259d18bf22f3ea284864c50a3a2f15746f.tar.gz
otp-a38743259d18bf22f3ea284864c50a3a2f15746f.tar.bz2
otp-a38743259d18bf22f3ea284864c50a3a2f15746f.zip
Merge branch 'c-rack/fix-list_to_bitstring-example' into maint
* c-rack/fix-list_to_bitstring-example: Typos in documentation example of list_to_bitstring/1 OTP-13017
Diffstat (limited to 'erts')
-rw-r--r--erts/doc/src/erlang.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 37f0aa289e..39febba1ec 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -2143,10 +2143,10 @@ os_prompt% </pre>
&lt;&lt;1,2,3&gt;&gt;
> <input>Bin2 = &lt;&lt;4,5&gt;&gt;.</input>
&lt;&lt;4,5&gt;&gt;
-> <input>Bin3 = &lt;&lt;6,7:4,&gt;&gt;.</input>
-&lt;&lt;6&gt;&gt;
+> <input>Bin3 = &lt;&lt;6,7:4&gt;&gt;.</input>
+&lt;&lt;6,7:4&gt;&gt;
> <input>list_to_bitstring([Bin1,1,[2,3,Bin2],4|Bin3]).</input>
-&lt;&lt;1,2,3,1,2,3,4,5,4,6,7:46&gt;&gt;</pre>
+&lt;&lt;1,2,3,1,2,3,4,5,4,6,7:4&gt;&gt;</pre>
</desc>
</func>
<func>