File 1344-Update-erlang.xml.patch of Package erlang
From 52297a84eae3d767379602a1623089f4873707d3 Mon Sep 17 00:00:00 2001
From: kang <kangjinwe@gmail.com>
Date: Thu, 23 Dec 2021 15:13:00 +0800
Subject: [PATCH] Update erlang.xml
missing ")" in tuple_size(Tuple)
---
erts/doc/src/erlang.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 2141695e80..c317fbd62f 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -7275,7 +7275,7 @@ true</pre>
<func>
<name name="setelement" arity="3"/>
<fsummary>Set the Nth element of a tuple.</fsummary>
- <type_desc variable="Index">1..tuple_size(<anno>Tuple1</anno></type_desc>
+ <type_desc variable="Index">1..tuple_size(<anno>Tuple1</anno>)</type_desc>
<desc>
<p>Returns a tuple that is a copy of argument
<c><anno>Tuple1</anno></c>
--
2.31.1