Skip to content

Commit 286bf02

Browse files
authored
Apply suggestions from code review
1 parent bebf3be commit 286bf02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/integer.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ defmodule Integer do
289289
iex> Integer.parse("three")
290290
:error
291291
292-
iex> Integer.parse("37 war elephants")
293-
{37, " war elephants"}
292+
iex> Integer.parse("404 not found")
293+
{404, " not found"}
294294
295295
iex> Integer.parse("34", 10)
296296
{34, ""}

0 commit comments

Comments
 (0)