diff options
author | Sushant Bajracharya <sussyoung9@gmail.com> | 2020-04-19 13:49:30 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 10:04:30 +0200 |
commit | 1ce201aa1ebbfc1666c4e4bde64f706a89629d59 (patch) | |
tree | b2f0c8b901579cbd549c880ff93fa73b58a44a94 | |
parent | 2d20e30263c452c57ff83b1bdac262e6a0e9fa11 (diff) | |
download | elixir-1ce201aa1ebbfc1666c4e4bde64f706a89629d59.tar.gz |
Use __MODULE__ alias (#9952)
-rw-r--r-- | lib/iex/lib/iex/broker.ex | 4 |
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 """ |