File 1330-Fix-typos-in-lib-edoc.patch of Package erlang

From 430df666b2ac7b70cb72c5f920e414e842e23fa7 Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Sat, 11 Dec 2021 07:04:16 +0800
Subject: [PATCH] Fix typos in lib/edoc

---
 lib/edoc/src/edoc.erl      | 2 +-
 lib/edoc/src/edoc_wiki.erl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/edoc/src/edoc.erl b/lib/edoc/src/edoc.erl
index b1cf537f07..8ff27b9759 100644
--- a/lib/edoc/src/edoc.erl
+++ b/lib/edoc/src/edoc.erl
@@ -512,7 +512,7 @@ read_comments(File) ->
 %%
 %% @doc Extracts comments from an Erlang source code file. See the
 %% module {@link //syntax_tools/erl_comment_scan} for details on the
-%% representation of comments. Currently, no options are avaliable.
+%% representation of comments. Currently, no options are available.
 
 read_comments(File, _Opts) ->
     erl_comment_scan:file(File).
diff --git a/lib/edoc/src/edoc_wiki.erl b/lib/edoc/src/edoc_wiki.erl
index 574880703c..903d69e84c 100644
--- a/lib/edoc/src/edoc_wiki.erl
+++ b/lib/edoc/src/edoc_wiki.erl
@@ -42,7 +42,7 @@
 %% and the resulting text easier to read. The wiki notation should be a
 %% small bag of easy-to-remember tricks for making XHTML documentation
 %% easier to write, not a complete markup language in itself. As a
-%% typical example, it is hardly worthwile to introduce a special
+%% typical example, it is hardly worthwhile to introduce a special
 %% notation like say, ""..."" for emphasized text, since <em>...</em> is
 %% not much harder to write, not any less readable, and no more
 %% difficult to remember, especially since emphasis is not very often
-- 
2.31.1

openSUSE Build Service is sponsored by