From 656944b30c5682924db0c726efbbfc32650c2d7a Mon Sep 17 00:00:00 2001 From: DeedleFake Date: Sun, 13 Oct 2024 18:43:00 -0400 Subject: [PATCH] Fix a small typo in a warning in Access (#13901) --- lib/elixir/lib/access.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elixir/lib/access.ex b/lib/elixir/lib/access.ex index ed31a679d27..25d5d2289be 100644 --- a/lib/elixir/lib/access.ex +++ b/lib/elixir/lib/access.ex @@ -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