Skip to content

Commit 440850f

Browse files
wojtekmachJosé Valim
authored andcommitted
Point to the proper docs in the consolidation warning (#9696)
The docs are on the module nowadays: https://hexdocs.pm/elixir/master/Protocol.html#module-consolidation
1 parent 54328e8 commit 440850f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/protocol.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ defmodule Protocol do
917917
"the #{inspect(protocol)} protocol has already been consolidated, an " <>
918918
"implementation for #{inspect(for)} has no effect. If you want to " <>
919919
"implement protocols after compilation or during tests, check the " <>
920-
"\"Consolidation\" section in the documentation for Kernel.defprotocol/2"
920+
"\"Consolidation\" section in the Protocol module documentation"
921921

922922
IO.warn(message, Macro.Env.stacktrace(env))
923923
end

0 commit comments

Comments
 (0)