File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,8 @@ defmodule Protocol do
222
222
are known up-front, typically after all Elixir code in a project is compiled,
223
223
Elixir provides a feature called *protocol consolidation*. Consolidation directly
224
224
links protocols to their implementations in a way that invoking a function from a
225
- consolidated protocol is equivalent to invoking two remote functions.
225
+ consolidated protocol is equivalent to invoking two remote functions - one to
226
+ identify the correct implementation, and another to call the implementation.
226
227
227
228
Protocol consolidation is applied by default to all Mix projects during compilation.
228
229
This may be an issue during test. For instance, if you want to implement a protocol
You can’t perform that action at this time.
0 commit comments