diff options
| -rw-r--r-- | include/ruby/internal/ctype.h | 2 | ||||
| -rw-r--r-- | include/ruby/internal/symbol.h | 2 | ||||
| -rw-r--r-- | set.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/internal/ctype.h b/include/ruby/internal/ctype.h index 0f7ca6c516..93e92801fc 100644 --- a/include/ruby/internal/ctype.h +++ b/include/ruby/internal/ctype.h @@ -498,7 +498,7 @@ RBIMPL_ATTR_ARTIFICIAL() * Our own locale-insensitive version of `tolower(3)`. * * @param[in] c Byte in question to convert. - * @retval c The byte is not listed in in IEEE 1003.1 section + * @retval c The byte is not listed in IEEE 1003.1 section * 7.3.1.1 "upper". * @retval otherwise Byte converted using the map defined in IEEE 1003.1 * section 7.3.1 "tolower". diff --git a/include/ruby/internal/symbol.h b/include/ruby/internal/symbol.h index 569bf215a2..858c5e290f 100644 --- a/include/ruby/internal/symbol.h +++ b/include/ruby/internal/symbol.h @@ -187,7 +187,7 @@ ID rb_check_id(volatile VALUE *namep); * * :FIXME: Can anyone tell us what is the difference between this one and * rb_intern_str()? As far as @shyouhei reads the implementation it seems what - * rb_to_id() does is is just waste some CPU time, then call rb_intern_str(). + * rb_to_id() does is just waste some CPU time, then call rb_intern_str(). * He hopes he is wrong. */ ID rb_to_id(VALUE str); @@ -1766,7 +1766,7 @@ set_i_disjoint(VALUE set, VALUE other) * set <=> other -> -1, 0, 1, or nil * * Returns 0 if the set are equal, -1 / 1 if the set is a - * proper subset / superset of the given set, or or nil if + * proper subset / superset of the given set, or nil if * they both have unique elements. */ static VALUE |
