Skip to content

Commit d1c1c62

Browse files
committed
Fix runtime errors
1 parent c22ea6e commit d1c1c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/unicode/security.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ defmodule String.Tokenizer.Security do
147147
init = "'#{s}' includes right-to-left characters:\n"
148148

149149
init <>
150-
for codepoint <- s do
150+
for codepoint <- s, into: "" do
151151
hex = :io_lib.format(~c"~4.16.0B", [codepoint])
152152
" \\u#{hex} #{[codepoint]} #{String.Tokenizer.dir(codepoint)}\n"
153153
end

0 commit comments

Comments
 (0)