File 5656-Fix-beam_doc-typos.patch of Package erlang

From a4f2e62648615b233362b39f6b7cb17c4b903863 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?William=20Fank=20Thom=C3=A9?= <willegp88@gmail.com>
Date: Wed, 8 May 2024 21:04:56 -0300
Subject: [PATCH] Fix beam_doc typos

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

diff --git a/lib/compiler/src/beam_doc.erl b/lib/compiler/src/beam_doc.erl
index a9a9d31abc..381b2a8a9a 100644
--- a/lib/compiler/src/beam_doc.erl
+++ b/lib/compiler/src/beam_doc.erl
@@ -130,7 +130,7 @@
                %% documentation text, etc.
                %%
                %% one cannot rely on the fields below to keep track of documentation,
-               %% as Erlang allows pretty unstructure code.
+               %% as Erlang allows pretty unstructured code.
                %%
                %% e.g.,
                %%
@@ -143,7 +143,7 @@
                %% -doc foo() -> ok.
                %%
                %% thus, after reading a terminal AST node (spec, type, fun declaration, opaque, callback),
-               %% the intermediate state saveed in the fields below needs to be
+               %% the intermediate state saved in the fields below needs to be
                %% saved in the `docs` field.
 
                hidden_status = none :: none | hidden,
@@ -185,7 +185,7 @@
                %% Stateful, need to be fixed as docs.
                meta   = #{exported => false} :: map(),
 
-               %% on analysing the AST, and upon finding a spec of a exported
+               %% on analyzing the AST, and upon finding a spec of a exported
                %% function, the types from the spec are added to the field
                %% below. if the function to which the spec belongs to is hidden,
                %% we purge types from this field. if the function to which the
-- 
2.35.3

openSUSE Build Service is sponsored by