aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Rack <constantin@rack.li>2015-09-15 17:29:01 +0200
committerConstantin Rack <constantin@rack.li>2015-09-15 17:29:01 +0200
commitaf2dae8fba475cd216bc3860c8b867e235eb8748 (patch)
tree7b2d649302d5a7466b0ed330824ae3af86ccb09d
parent98647fcc1632f60871adee20031e294e5d5b6eb0 (diff)
downloadotp-af2dae8fba475cd216bc3860c8b867e235eb8748.tar.gz
otp-af2dae8fba475cd216bc3860c8b867e235eb8748.tar.bz2
otp-af2dae8fba475cd216bc3860c8b867e235eb8748.zip
Typos in documentation example of list_to_bitstring/1
-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>