summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@dashbit.co>2021-12-06 11:29:33 +0100
committerJosé Valim <jose.valim@dashbit.co>2021-12-06 11:29:33 +0100
commit88bad1a3b0f16ede148242ffbab707f0eaddb3ae (patch)
treee7f4190285e98282f39b5f7b79b3e77bf32cdc8e
parent822837e18889c0212049cb381f8621e2c2ef6da1 (diff)
downloadelixir-88bad1a3b0f16ede148242ffbab707f0eaddb3ae.tar.gz
Clarify summary for Keyword.validate/2
-rw-r--r--lib/elixir/lib/keyword.ex3
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.