diff options
author | José Valim <jose.valim@dashbit.co> | 2021-12-06 11:29:33 +0100 |
---|---|---|
committer | José Valim <jose.valim@dashbit.co> | 2021-12-06 11:29:33 +0100 |
commit | 88bad1a3b0f16ede148242ffbab707f0eaddb3ae (patch) | |
tree | e7f4190285e98282f39b5f7b79b3e77bf32cdc8e | |
parent | 822837e18889c0212049cb381f8621e2c2ef6da1 (diff) | |
download | elixir-88bad1a3b0f16ede148242ffbab707f0eaddb3ae.tar.gz |
Clarify summary for Keyword.validate/2
-rw-r--r-- | lib/elixir/lib/keyword.ex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/elixir/lib/keyword.ex b/lib/elixir/lib/keyword.ex index 0b2fd2f4b..6e7ba81f4 100644 --- a/lib/elixir/lib/keyword.ex +++ b/lib/elixir/lib/keyword.ex @@ -202,8 +202,7 @@ defmodule Keyword do end @doc """ - Ensures the first argument is a `keyword` with the given - keys and default values. + Ensures the given `keyword` has only the keys given in `values`. The second argument must be a list of atoms, specifying a given key, or tuples specifying a key and a default value. |