@@ -1643,7 +1643,7 @@ defmodule Kernel do
1643
1643
@ doc """
1644
1644
Gets a value from a nested structure.
1645
1645
1646
- Uses the `Access` protocol to traverse the structures
1646
+ Uses the `Access` module to traverse the structures
1647
1647
according to the given `keys`, unless the `key` is a
1648
1648
function.
1649
1649
@@ -1662,7 +1662,7 @@ defmodule Kernel do
1662
1662
27
1663
1663
1664
1664
In case any of entries in the middle returns `nil`, `nil` will be returned
1665
- as per the Access protocol :
1665
+ as per the Access module :
1666
1666
1667
1667
iex> users = %{"john" => %{age: 27}, "meg" => %{age: 23}}
1668
1668
iex> get_in(users, ["unknown", :age])
@@ -1702,7 +1702,7 @@ defmodule Kernel do
1702
1702
@ doc """
1703
1703
Puts a value in a nested structure.
1704
1704
1705
- Uses the `Access` protocol to traverse the structures
1705
+ Uses the `Access` module to traverse the structures
1706
1706
according to the given `keys`, unless the `key` is a
1707
1707
function. If the key is a function, it will be invoked
1708
1708
as specified in `get_and_update_in/3`.
@@ -1724,7 +1724,7 @@ defmodule Kernel do
1724
1724
@ doc """
1725
1725
Updates a key in a nested structure.
1726
1726
1727
- Uses the `Access` protocol to traverse the structures
1727
+ Uses the `Access` module to traverse the structures
1728
1728
according to the given `keys`, unless the `key` is a
1729
1729
function. If the key is a function, it will be invoked
1730
1730
as specified in `get_and_update_in/3`.
@@ -1749,7 +1749,7 @@ defmodule Kernel do
1749
1749
It expects a tuple to be returned, containing the value
1750
1750
retrieved and the update one.
1751
1751
1752
- Uses the `Access` protocol to traverse the structures
1752
+ Uses the `Access` module to traverse the structures
1753
1753
according to the given `keys`, unless the `key` is a
1754
1754
function.
1755
1755
0 commit comments