File 1165-Removed-inconsistency-between-text-and-spec.patch of Package erlang

From a1648fd300615c9f3f51d5fcf5d24d2a32816d9b Mon Sep 17 00:00:00 2001
From: iri <ram3a12@gmail.com>
Date: Thu, 2 Jan 2025 00:37:43 +0300
Subject: [PATCH] Removed inconsistency between text and -spec

---
 lib/stdlib/src/maps.erl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/stdlib/doc/src/maps.xml b/lib/stdlib/doc/src/maps.xml
index c9ac59dec3..e577f60308 100644
--- a/lib/stdlib/doc/src/maps.xml
+++ b/lib/stdlib/doc/src/maps.xml
@@ -150,9 +150,9 @@
       <name name="fold" arity="3" since="OTP 17.0"/>
       <fsummary></fsummary>
       <desc>
-        <p>Calls <c>F(Key, Value, AccIn)</c> for every <c><anno>Key</anno></c>
+        <p>Calls <c>Fun(Key, Value, AccIn)</c> for every <c><anno>Key</anno></c>
           to value <c><anno>Value</anno></c> association in
-          <c><anno>MapOrIter</anno></c> in any order. Function <c>fun F/3</c>
+          <c><anno>MapOrIter</anno></c> in any order. Function <c>fun Fun/3</c>
           must return a new accumulator, which is passed to the next successive
           call. This function returns the final value of the accumulator.
           The initial accumulator value <c><anno>Init</anno></c> is returned
@@ -478,7 +478,7 @@ ok
       <fsummary></fsummary>
       <desc>
         <p>Produces a new map <c><anno>Map</anno></c> by calling function
-          <c>fun F(Key, Value1)</c> for every <c><anno>Key</anno></c> to value
+          <c>fun Fun(Key, Value1)</c> for every <c><anno>Key</anno></c> to value
           <c><anno>Value1</anno></c> association in
           <c><anno>MapOrIter</anno></c> in any order. Function <c>fun Fun/2</c>
           must return value <c><anno>Value2</anno></c> to be associated with
-- 
2.43.0

openSUSE Build Service is sponsored by