aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--range.c2
-rw-r--r--transcode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/range.c b/range.c
index fa901e3e02..61fb6438f9 100644
--- a/range.c
+++ b/range.c
@@ -1037,7 +1037,7 @@ range_alloc(VALUE klass)
* end
* end
*
- * A example of using <code>Xs</code> to construct a range:
+ * An example of using <code>Xs</code> to construct a range:
*
* r = Xs.new(3)..Xs.new(6) #=> xxx..xxxxxx
* r.to_a #=> [xxx, xxxx, xxxxx, xxxxxx]
diff --git a/transcode.c b/transcode.c
index 0178ce7f7f..ec5f93ce1e 100644
--- a/transcode.c
+++ b/transcode.c
@@ -2939,7 +2939,7 @@ make_encobj(const char *name)
*
* Returns nil if the argument is an ASCII compatible encoding.
*
- * "corresponding ASCII compatible encoding" is a ASCII compatible encoding which
+ * "corresponding ASCII compatible encoding" is an ASCII compatible encoding which
* can represents exactly the same characters as the given ASCII incompatible encoding.
* So, no conversion undefined error occurs when converting between the two encodings.
*
@@ -3582,7 +3582,7 @@ econv_result_to_symbol(rb_econv_result_t res)
* primitive_convert converts source_buffer into destination_buffer.
*
* source_buffer should be a string or nil.
- * nil means a empty string.
+ * nil means an empty string.
*
* destination_buffer should be a string.
*