Skip to content

Commit e4328bc

Browse files
Update protocols.markdown (elixir-lang#1366)
Fix wrong function name.
1 parent 759c685 commit e4328bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎getting-started/protocols.markdown‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defimpl Utility, for: BitString do
3434
end
3535

3636
defimplUtility, for: Integerdo
37-
defmask(_value), do:"integer"
37+
deftype(_value), do:"integer"
3838
end
3939
```
4040

0 commit comments

Comments
(0)