File 0329-Rephrase-to-reduce-clutter.patch of Package erlang

From 912d77db5f73b97ab817cc8c398535f28087925c Mon Sep 17 00:00:00 2001
From: Raimo Niskanen <raimo@erlang.org>
Date: Wed, 23 Mar 2022 15:33:57 +0100
Subject: [PATCH 5/5] Rephrase to reduce clutter

---
 lib/kernel/doc/src/inet_res.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/kernel/doc/src/inet_res.xml b/lib/kernel/doc/src/inet_res.xml
index 8af91052ff..4d92cc4d45 100644
--- a/lib/kernel/doc/src/inet_res.xml
+++ b/lib/kernel/doc/src/inet_res.xml
@@ -217,9 +217,12 @@ inet_dns:record_type(_) -> undefined.</pre>
           <seetype marker="inet#hostent"><c>inet:hostent()</c></seetype>.</p>
         <p>When resolving other
           <c><anno>Type</anno>&nbsp;=&nbsp;dns_rr_type()</c>:s
+          (of class <c>in</c>),
           also returns a <c>#hostent{}</c> record but with
-          <c>#hostent.h_addrtype&nbsp;=&nbsp;</c><seetype marker="#dns_rr_type"><c>dns_rr_type()</c></seetype>, and
-          <c>#hostent.h_addr_list&nbsp;=&nbsp;</c>[<seetype marker="#dns_data"><c>dns_data()</c></seetype>]; see
+          <seetype marker="#dns_rr_type"><c>dns_rr_type()</c></seetype>
+          in <c>#hostent.h_addrtype</c>, and the resolved
+          <seetype marker="#dns_data"><c>dns_data()</c></seetype> in
+          <c>#hostent.h_addr_list</c>; see
           <seetype marker="#hostent"><c>hostent()</c></seetype>.</p>
         <p>This function uses resolver option <c>search</c> that
           is a list of domain names. If the name to resolve contains
-- 
2.34.1

openSUSE Build Service is sponsored by