Skip to content

Commit ee82679

Browse files
author
José Valim
committed
Merge pull request #2645 from tomkadwill/doc_false_handle_info
Added @doc false to handle_info function
2 parents 2d9c3fb + aedd5a9 commit ee82679

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

lib/elixir/lib/kernel/lexical_tracker.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ defmodule Kernel.LexicalTracker do
147147
{:stop, {:bad_cast, msg}, {d, dest}}
148148
end
149149

150+
@doc false
150151
def handle_info(_msg, {d, dest}) do
151152
{:noreply, {d, dest}}
152153
end

lib/elixir/lib/module/locals_tracker.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ defmodule Module.LocalsTracker do
271271
{:stop, {:bad_call, request}, state}
272272
end
273273

274+
@doc false
274275
def handle_info(_msg, state) do
275276
{:noreply, state}
276277
end

lib/logger/lib/logger/watcher.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ defmodule Logger.Watcher do
6868
end
6969
end
7070

71+
@doc false
7172
def handle_info({:gen_event_EXIT, handler, reason}, {_, handler} = state)
7273
when reason in [:normal, :shutdown] do
7374
{:stop, reason, state}

0 commit comments

Comments
 (0)