File 2991-Add-since-to-docs-for-queue-functions-new-in-OTP-24..patch of Package erlang

From 303a4093006ac0be3d2330287d4d29584be447f7 Mon Sep 17 00:00:00 2001
From: Maria-12648430 <maria-12648430@hnc-agency.org>
Date: Tue, 6 Apr 2021 17:14:02 +0200
Subject: [PATCH 1/3] Add since to docs for queue functions new in OTP 24.0

* all/2
* any/2
* delete/2
* delete_r/2
* delete_with/2
* delete_with_r/2
* filtermap/2
* fold/3
---
 lib/stdlib/doc/src/queue.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/stdlib/doc/src/queue.xml b/lib/stdlib/doc/src/queue.xml
index 08320f4ec4..a4335604bc 100644
--- a/lib/stdlib/doc/src/queue.xml
+++ b/lib/stdlib/doc/src/queue.xml
@@ -122,7 +122,7 @@
       <title>Original API</title>
     </fsdescription>
     <func>
-      <name name="all" arity="2" since=""/>
+      <name name="all" arity="2" since="OTP 24.0"/>
       <fsummary>Return <c>true</c> if all items in a queue satisfy
         <c>Pred</c>.</fsummary>
       <desc>
@@ -133,7 +133,7 @@
     </func>
 
     <func>
-      <name name="any" arity="2" since=""/>
+      <name name="any" arity="2" since="OTP 24.0"/>
       <fsummary>Return <c>true</c> if any of the items in a queue satisfy
         <c>Pred</c>.</fsummary>
       <desc>
@@ -144,7 +144,7 @@
     </func>
 
     <func>
-      <name name="delete" arity="2" since=""/>
+      <name name="delete" arity="2" since="OTP 24.0"/>
       <fsummary>Delete an item from the front of a queue.</fsummary>
       <desc>
         <p>Returns a copy of <c><anno>Q1</anno></c> where the first item
@@ -154,7 +154,7 @@
     </func>
 
     <func>
-      <name name="delete_r" arity="2" since=""/>
+      <name name="delete_r" arity="2" since="OTP 24.0"/>
       <fsummary>Delete an item from the rear of a queue.</fsummary>
       <desc>
         <p>Returns a copy of <c><anno>Q1</anno></c> where the last item
@@ -164,7 +164,7 @@
     </func>
 
     <func>
-      <name name="delete_with" arity="2" since=""/>
+      <name name="delete_with" arity="2" since="OTP 24.0"/>
       <fsummary>Delete an item matching a predicate from the front of a
         queue.</fsummary>
       <desc>
@@ -175,7 +175,7 @@
     </func>
 
     <func>
-      <name name="delete_with_r" arity="2" since=""/>
+      <name name="delete_with_r" arity="2" since="OTP 24.0"/>
       <fsummary>Delete an item matching a predicate from the rear of a
         queue.</fsummary>
       <desc>
@@ -207,7 +207,7 @@
     </func>
 
     <func>
-      <name name="filtermap" arity="2" since=""/>
+      <name name="filtermap" arity="2" since="OTP 24.0"/>
       <fsummary>Filter and map a queue.</fsummary>
       <desc>
         <p>Returns a queue <c><anno>Q2</anno></c> that is the result of calling
@@ -222,7 +222,7 @@
     </func>
 
     <func>
-      <name name="fold" arity="3" since=""/>
+      <name name="fold" arity="3" since="OTP 24.0"/>
       <fsummary>Fold a function over a queue.</fsummary>
       <desc>
         <p>Calls <c><anno>Fun</anno>(<anno>Item</anno>, <anno>AccIn</anno>)</c>
-- 
2.26.2

openSUSE Build Service is sponsored by