Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f824e8

Browse files
ceriathjosevalim
authored andcommitted
Fix example ip (elixir-lang#967)
Nothing important, most people will see it, still should be fixed to default localhost ip
1 parent 86b894c commit 4f824e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/module-attributes.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Elixir developers will often use module attributes as constants:
8383

8484
```elixir
8585
defmodule MyServer do
86-
@initial_state %{host: "147.0.0.1", port: 3456}
86+
@initial_state %{host: "127.0.0.1", port: 3456}
8787
IO.inspect @initial_state
8888
end
8989
```

0 commit comments

Comments
 (0)