summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSushant Bajracharya <sussyoung9@gmail.com>2020-04-19 13:49:30 +0545
committerGitHub <noreply@github.com>2020-04-19 10:04:30 +0200
commit1ce201aa1ebbfc1666c4e4bde64f706a89629d59 (patch)
treeb2f0c8b901579cbd549c880ff93fa73b58a44a94
parent2d20e30263c452c57ff83b1bdac262e6a0e9fa11 (diff)
downloadelixir-1ce201aa1ebbfc1666c4e4bde64f706a89629d59.tar.gz
Use __MODULE__ alias (#9952)
-rw-r--r--lib/iex/lib/iex/broker.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/iex/lib/iex/broker.ex b/lib/iex/lib/iex/broker.ex
index 03687ced8..78cad9d02 100644
--- a/lib/iex/lib/iex/broker.ex
+++ b/lib/iex/lib/iex/broker.ex
@@ -1,6 +1,6 @@
defmodule IEx.Broker do
@moduledoc false
- @name IEx.Broker
+ @name __MODULE__
@type take_ref :: {takeover_ref :: reference(), server_ref :: reference()}
@@ -44,7 +44,7 @@ defmodule IEx.Broker do
## Broker API
def start_link(_) do
- GenServer.start_link(__MODULE__, :ok, name: @name)
+ GenServer.start_link(@name, :ok, name: @name)
end
@doc """