From 82072254a05c88648caac2bd51069681e37f91aa Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 6 Dec 2023 14:26:27 -0500 Subject: [PATCH] [ruby/prism] Update documentation for encodings https://github.com/ruby/prism/commit/18e6df0d4f --- prism/encoding.c | 2 +- prism/encoding.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prism/encoding.c b/prism/encoding.c index 3493353b04..2c6d7c9777 100644 --- a/prism/encoding.c +++ b/prism/encoding.c @@ -4212,7 +4212,7 @@ pm_encoding_shift_jis_char_width(const uint8_t *b, ptrdiff_t n) { } /** - * This is the table of all of the encodings that prisms supports. + * This is the table of all of the encodings that prism supports. */ const pm_encoding_t pm_encodings[] = { [PM_ENCODING_UTF_8] = { diff --git a/prism/encoding.h b/prism/encoding.h index c286338160..8fe01aea69 100644 --- a/prism/encoding.h +++ b/prism/encoding.h @@ -121,7 +121,7 @@ bool pm_encoding_utf_8_isupper_char(const uint8_t *b, ptrdiff_t n); extern const uint8_t pm_encoding_unicode_table[256]; /** - * These are all of the encodings that prisms supports. + * These are all of the encodings that prism supports. */ typedef enum { PM_ENCODING_UTF_8 = 0, @@ -218,7 +218,7 @@ typedef enum { } pm_encoding_type_t; /** - * This is the table of all of the encodings that prisms supports. + * This is the table of all of the encodings that prism supports. */ extern const pm_encoding_t pm_encodings[PM_ENCODING_MAXIMUM];