File 0577-Fix-typos-in-base64-docs.patch of Package erlang
From fc200160dcdc50e557cc40b5131178305dec9eea Mon Sep 17 00:00:00 2001
From: Jan Uhlig <juhlig@hnc-agency.org>
Date: Tue, 16 Dec 2025 09:29:39 +0100
Subject: [PATCH] Fix typos in base64 docs
---
lib/stdlib/src/base64.erl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/stdlib/src/base64.erl b/lib/stdlib/src/base64.erl
index 52a8107f0a..1ad99c933e 100644
--- a/lib/stdlib/src/base64.erl
+++ b/lib/stdlib/src/base64.erl
@@ -84,7 +84,7 @@ The `padding` option can be one of the following:
-type decode_options() :: #{padding => boolean(), mode => base64_mode()}.
-doc """
-Customizes the behaviour of the decode functions.
+Customizes the behaviour of the encode functions.
Default value if omitted entirely or partially is `#{mode => standard, padding => true}`.
@@ -274,7 +274,7 @@ Decodes a base64 string encoded using the standard alphabet according to
[RFC 4648 Section 4](https://datatracker.ietf.org/doc/html/rfc4648#section-4) to
plain ASCII.
-The function will strips away any whitespace characters and check for the
+The function will strip away any whitespace characters and check for the
the correct number of `=` padding characters at the end of the encoded string.
See `t:decode_options/0` for details on which options can be passed.
@@ -317,7 +317,7 @@ Decodes a base64 "mime" string encoded using the standard alphabet according to
[RFC 4648 Section 4](https://datatracker.ietf.org/doc/html/rfc4648#section-4) to
plain ASCII.
-The function will strips away any illegal characters. It does *not* check for the
+The function will strip away any illegal characters. It does *not* check for the
the correct number of `=` padding characters at the end of the encoded string.
See `t:decode_options/0` for details on which options can be passed.
--
2.51.0