aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-12-06 14:26:27 -0500
committergit <svn-admin@ruby-lang.org>2023-12-06 19:26:35 +0000
commit82072254a05c88648caac2bd51069681e37f91aa (patch)
tree0402c83067534cb4d707772c89080b35d66c5efa
parent153c09f24be77b8db986c2914c141b5bd8f51f67 (diff)
downloadruby-82072254a05c88648caac2bd51069681e37f91aa.tar.gz
[ruby/prism] Update documentation for encodings
https://github.com/ruby/prism/commit/18e6df0d4f
-rw-r--r--prism/encoding.c2
-rw-r--r--prism/encoding.h4
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];