File 2033-Improve-ets-lookup_element-3-docs.patch of Package erlang
From 3bf81b838692744447a6ddc37e7a815f06691dca Mon Sep 17 00:00:00 2001
From: Maria Scott <maria-12648430@hnc-agency.org>
Date: Wed, 24 Sep 2025 15:54:36 +0200
Subject: [PATCH 2/2] Improve ets:lookup_element/3 docs
---
lib/stdlib/src/ets.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml
index c9b64b9ba8..94472e6b82 100644
--- a/lib/stdlib/doc/src/ets.xml
+++ b/lib/stdlib/doc/src/ets.xml
@@ -1023,7 +1023,7 @@ Error: fun containing local Erlang funct
element of every object with key <c><anno>Key</anno></c>.</p>
<p>If no object with key <c><anno>Key</anno></c> exists, the
function exits with reason <c>badarg</c>.</p>
- <p>If <c><anno>Pos</anno></c> is larger than the size of the tuple,
+ <p>If <c><anno>Pos</anno></c> is larger than the size of the tuple with a matching key,
the function exits with reason <c>badarg</c>.</p>
<p>The difference between <c>set</c>, <c>bag</c>, and
<c>duplicate_bag</c> on one hand, and <c>ordered_set</c> on
--
2.51.0