Skip to content

Commit f18343d

Browse files
Fix typo in Access.get_and_update/3 error message (#13979)
1 parent 8ed104d commit f18343d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/access.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ defmodule Access do
418418
419419
Accessing a list by index is typically discouraged in Elixir, \
420420
instead we prefer to use the Enum module to manipulate lists \
421-
as a whole. If you really must mostify a list element by index, \
422-
you can Access.at/1 or the functions in the List module\
421+
as a whole. If you really must modify a list element by index, \
422+
you can use Access.at/1 or the functions in the List module\
423423
"""
424424
end
425425

0 commit comments

Comments
 (0)