Skip to content

Commit aa0f3c8

Browse files
jgloverjosevalim
authored andcommitted
Update protocols.markdown (elixir-lang#776)
Appears that 'the' was accidentally used in place of 'to'.
1 parent a6d3fc1 commit aa0f3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/protocols.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ When deriving, Elixir will implement the `Blank` protocol for `DeriveUser` based
142142

143143
### Fallback to `Any`
144144

145-
Another alternative to `@derive` is to explicitly tell the protocol the fallback to `Any` when an implementation cannot be found. This can be achieved by setting `@fallback_to_any` to `true` in the protocol definition:
145+
Another alternative to `@derive` is to explicitly tell the protocol to fallback to `Any` when an implementation cannot be found. This can be achieved by setting `@fallback_to_any` to `true` in the protocol definition:
146146

147147
```elixir
148148
defprotocol Blank do

0 commit comments

Comments
 (0)