Skip to content

Commit ea5833e

Browse files
author
José Valim
committed
Improve @deprecated example
1 parent f026a8d commit ea5833e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2018-01-17-elixir-v1-6-0-released.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ This release also introduces two new attributes associated with function definit
3838
@doc "Breaks a collection into chunks"
3939
@since "1.0.0"
4040
@deprecated "Use chunk_every/2 instead"
41-
def chunk_every(collection, chunk_size) do
42-
...
41+
def chunk(collection, chunk_size) do
42+
chunk_every(collection, chunk_size)
4343
end
4444
```
4545

0 commit comments

Comments
 (0)