diff options
author | José Valim <jose.valim@dashbit.co> | 2022-07-11 17:00:17 +0200 |
---|---|---|
committer | José Valim <jose.valim@dashbit.co> | 2022-07-11 17:00:17 +0200 |
commit | f11b6756c8310961b2dc4d35daed21225214381d (patch) | |
tree | c03903affb781ffe08336c9dd4d7bd14ca958d24 /lib/elixir | |
parent | 7a90dbf9d83e28c86b4fb477db95da788cbf5ee4 (diff) | |
download | elixir-f11b6756c8310961b2dc4d35daed21225214381d.tar.gz |
Fix bootstrap issues
Diffstat (limited to 'lib/elixir')
-rw-r--r-- | lib/elixir/lib/keyword.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/keyword.ex b/lib/elixir/lib/keyword.ex index fcd6a6b01..f3fcc2a04 100644 --- a/lib/elixir/lib/keyword.ex +++ b/lib/elixir/lib/keyword.ex @@ -1201,7 +1201,7 @@ defmodule Keyword do """ @spec take(t, [key]) :: t def take(keywords, keys) when is_list(keywords) and is_list(keys) do - :lists.filter(fn {k, _} -> k in keys end, keywords) + :lists.filter(fn {k, _} -> :lists.member(k, keys) end, keywords) end @doc """ |