We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d44df6 commit 12dc4b5Copy full SHA for 12dc4b5
lib/elixir/lib/map.ex
@@ -709,10 +709,10 @@ defmodule Map do
709
end
710
711
@doc """
712
- Removes the value associated with `key` in `map` and returns the value
713
- and the updated map, or it raises if `key` is not present.
+ Removes and returns the value associated with `key` in `map` alongside
+ the updated map, or raises if `key` is not present.
714
715
- Behaves the same as `pop/3` but raises if `key` is not present in `map`.
+ Behaves the same as `pop/3` but raises a `KeyError` exception if `key` is not present in `map`.
716
717
## Examples
718
0 commit comments