Skip to content

Commit 926bfe8

Browse files
authored
Fix MapSet reference in docs (#12625)
1 parent b6b70a2 commit 926bfe8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/elixir/lib/map_set.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ defmodule MapSet do
326326
end
327327

328328
@doc """
329-
Filters the set by returning only the elements from `set` for which invoking
329+
Filters the set by returning only the elements from `map_set` for which invoking
330330
`fun` returns a truthy value.
331331
332332
Also see `reject/2` which discards all elements where the function returns
@@ -356,7 +356,7 @@ defmodule MapSet do
356356
end
357357

358358
@doc """
359-
Returns a set by excluding the elements from `set` for which invoking `fun`
359+
Returns a set by excluding the elements from `map_set` for which invoking `fun`
360360
returns a truthy value.
361361
362362
See also `filter/2`.
@@ -378,10 +378,10 @@ defmodule MapSet do
378378
end
379379

380380
@doc """
381-
Splits the `MapSet` into two `MapSet`s according to the given function `fun`.
381+
Splits the `map_set` into two `MapSet`s according to the given function `fun`.
382382
383-
`fun` receives each element in the `MapSet` as its only argument. Returns
384-
a tuple with the first `MapSet` containing all the elements in `MapSet` for which
383+
`fun` receives each element in the `map_set` as its only argument. Returns
384+
a tuple with the first `MapSet` containing all the elements in `map_set` for which
385385
applying `fun` returned a truthy value, and a second `MapSet` with all the elements
386386
for which applying `fun` returned a falsy value (`false` or `nil`).
387387

0 commit comments

Comments
 (0)