Skip to content

Commit 3957464

Browse files
izelnakrijosevalim
authored andcommitted
better name for a code example in the homepage (elixir-lang#844)
1 parent b7d751b commit 3957464

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ <h4>Scalability</h4>
2727
<p>All Elixir code runs inside lightweight threads of execution (called processes) that are isolated and exchange information via messages:</p>
2828

2929
{% highlight elixir %}
30-
parent = self()
30+
current_process = self()
3131

3232
# Spawns an Elixir process (not an operating system one!)
3333
spawn_link(fn ->
34-
send parent, {:msg, "hello world"}
34+
send current_process, {:msg, "hello world"}
3535
end)
3636

3737
# Block until the message is received
@@ -175,4 +175,3 @@ <h4>Erlang compatible</h4>
175175
</div>
176176
</div>
177177
</div>
178-

0 commit comments

Comments
 (0)