From fdc5480c3cdd37b2ae3fd9a7038fc5a753c8f2f9 Mon Sep 17 00:00:00 2001 From: waseem-medhat Date: Thu, 7 Nov 2024 22:19:34 +0200 Subject: [PATCH] Fix typo in Access.get_and_update/3 error message --- lib/elixir/lib/access.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/elixir/lib/access.ex b/lib/elixir/lib/access.ex index 25d5d2289be..006f3c085a2 100644 --- a/lib/elixir/lib/access.ex +++ b/lib/elixir/lib/access.ex @@ -418,8 +418,8 @@ 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 mostify a list element by index, \ - you can Access.at/1 or the functions in the List module\ + as a whole. If you really must modify a list element by index, \ + you can use Access.at/1 or the functions in the List module\ """ end