Skip to content

Commit

Permalink
Fix a small typo in a warning in Access (#13901)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeedleFake authored Oct 13, 2024
1 parent 072c56e commit 656944b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/access.ex
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ defmodule Access do
Accessing a list by index is typically discouraged in Elixir, \
instead we prefer to use the Enum module to manipulate lists \
as a whole. If you really must access a list element by index, \
you can Enum.at/1 or the functions in the List module\
you can use Enum.at/2 or the functions in the List module\
"""
end

Expand Down

0 comments on commit 656944b

Please sign in to comment.