File 0706-doc-error-fix.patch of Package erlang

From 5b793a3cb304a5f233c3375e28af0efa6a85d76f Mon Sep 17 00:00:00 2001
From: soulna <jiangranye@outlook.com>
Date: Sun, 7 Nov 2021 21:25:31 +0800
Subject: [PATCH 2/2] doc error fix

---
 lib/stdlib/doc/src/maps.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/doc/src/maps.xml b/lib/stdlib/doc/src/maps.xml
index fdca524153..7c4fb9eaec 100644
--- a/lib/stdlib/doc/src/maps.xml
+++ b/lib/stdlib/doc/src/maps.xml
@@ -105,7 +105,7 @@
         <p>The call fails with a <c>{badmap,Map}</c> exception if
           <c><anno>MapOrIter</anno></c> is not a map or valid iterator,
           or with <c>badarg</c> if <c><anno>Fun</anno></c> is not a
-          function of arity 3.</p>
+          function of arity 2.</p>
         <p><em>Example:</em></p>
         <code type="none">
 > Fun = fun(K,V,AccIn) when is_list(K) -> AccIn + V end,
-- 
2.31.1

openSUSE Build Service is sponsored by