Skip to content

Commit 6d12dce

Browse files
authored
Clarify pop_lazy docs (#15580)
1 parent e746c04 commit 6d12dce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elixir/lib/keyword.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ defmodule Keyword do
14331433
do: {values, acc}
14341434

14351435
@doc """
1436-
Lazily returns and removes all values associated with `key` in the keyword list.
1436+
Lazily returns the first value for `key` and removes all associated entries in the keyword list.
14371437
14381438
This is useful if the default value is very expensive to calculate or
14391439
generally difficult to set up and tear down again.

0 commit comments

Comments
 (0)