File 0751-Fix-typo-in-supervisor.erl.patch of Package erlang
From dfb9d2d8bcb3691413dfe9d48ae9bf966a505248 Mon Sep 17 00:00:00 2001
From: ryan-duve <ryan-duve@users.noreply.github.com>
Date: Sun, 15 Feb 2026 21:20:04 -0500
Subject: [PATCH] Fix typo in supervisor.erl
A rare documented misspelling :-) https://en.wiktionary.org/wiki/occation
---
lib/stdlib/src/supervisor.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml
index 9154e739b0..8d3a153e98 100644
--- a/lib/stdlib/doc/src/supervisor.xml
+++ b/lib/stdlib/doc/src/supervisor.xml
@@ -216,7 +216,7 @@ child_spec() = #{id => child_id(),
<p><c>id</c> is used to identify the child
specification internally by the supervisor.</p>
<p>The <c>id</c> key is mandatory.</p>
- <p>Notice that this identifier on occations has been called
+ <p>Notice that this identifier on occasion has been called
"name". As far as possible, the terms "identifier" or "id"
are now used but to keep backward compatibility,
some occurences of "name" can still be found, for example
--
2.51.0