Skip to content

Commit 0463407

Browse files
committed
Fix an example in lc documentation
1 parent c59be9b commit 0463407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel/special_forms.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ defmodule Kernel.SpecialForms do
644644
organize bit string streams:
645645
646646
iex> pixels = <<213,45,132,64,76,32,76,0,0,234,32,15>>
647-
iex> lc <<r:8,g:8,b:8>> inbits pixels, do: {r,g,b}
647+
iex> lc <<r::8,g::8,b::8>> inbits pixels, do: {r,g,b}
648648
[{213,45,132},{64,76,32},{76,0,0},{234,32,15}]
649649
650650
"""

0 commit comments

Comments
 (0)