Skip to content

Commit 08001d2

Browse files
committed
Enumerable -> Collectable
1 parent 2e1a7c8 commit 08001d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/elixir/lib/module/types/helpers.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ defmodule Module.Types.Helpers do
101101
:into ->
102102
"""
103103
104-
#{hint()} the :into option in for-comprehensions use the Enumerable protocol to \
104+
#{hint()} the :into option in for-comprehensions use the Collectable protocol to \
105105
build its result. Either pass a valid data type or implement the protocol accordingly
106106
"""
107107

lib/elixir/test/elixir/module/types/integration_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ defmodule Module.Types.IntegrationTest do
480480
%File.Stream{} or %HashDict{} or %HashSet{} or %IO.Stream{} or %MapSet{} or binary() or
481481
list(term()) or non_struct_map()
482482
483-
hint: the :into option in for-comprehensions use the Enumerable protocol to build its result. Either pass a valid data type or implement the protocol accordingly
483+
hint: the :into option in for-comprehensions use the Collectable protocol to build its result. Either pass a valid data type or implement the protocol accordingly
484484
""",
485485
"""
486486
warning: incompatible value given to :into option in for-comprehension:
@@ -496,7 +496,7 @@ defmodule Module.Types.IntegrationTest do
496496
%File.Stream{} or %HashDict{} or %HashSet{} or %IO.Stream{} or %MapSet{} or binary() or
497497
list(term()) or non_struct_map()
498498
499-
hint: the :into option in for-comprehensions use the Enumerable protocol to build its result. Either pass a valid data type or implement the protocol accordingly
499+
hint: the :into option in for-comprehensions use the Collectable protocol to build its result. Either pass a valid data type or implement the protocol accordingly
500500
"""
501501
]
502502

0 commit comments

Comments
 (0)