diff options
author | cui fliter <[email protected]> | 2024-03-05 17:50:47 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-05 18:50:47 +0900 |
commit | 226a889dc7688cbd0c96cce1005adbda69b03ec4 (patch) | |
tree | 05c10b3582b7533059f967ef55dba9b6d283377b /include/ruby/internal | |
parent | 8e27c01fbb36d5020bb465e17a19a3bad35144ef (diff) |
[DOC] fix some comments
Signed-off-by: cui fliter <[email protected]>
Diffstat (limited to 'include/ruby/internal')
-rw-r--r-- | include/ruby/internal/intern/signal.h | 2 | ||||
-rw-r--r-- | include/ruby/internal/intern/string.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/internal/intern/signal.h b/include/ruby/internal/intern/signal.h index e5b6d6c3d5..4773788651 100644 --- a/include/ruby/internal/intern/signal.h +++ b/include/ruby/internal/intern/signal.h @@ -97,7 +97,7 @@ RBIMPL_ATTR_NONNULL(()) * - Case #11: When signo and PID are both negative, the behaviour of this * function depends on how `killpg(3)` works. On Linux, it seems such * attempt is strictly prohibited and `Errno::EINVAL` is raised. But on - * macOS, it seems it tries to to send the signal actually to the process + * macOS, it seems it tries to send the signal actually to the process * group. * * @note Above description is in fact different from how `kill(2)` works. diff --git a/include/ruby/internal/intern/string.h b/include/ruby/internal/intern/string.h index 3083125e56..952dc508c2 100644 --- a/include/ruby/internal/intern/string.h +++ b/include/ruby/internal/intern/string.h @@ -412,7 +412,7 @@ VALUE rb_utf8_str_new_static(const char *ptr, long len); /** * Identical to rb_interned_str(), except it takes a Ruby's string instead of - * C's. It can also be seen as a routine identical to to rb_str_new_shared(), + * C's. It can also be seen as a routine identical to rb_str_new_shared(), * except it returns an infamous "f"string. * * @param[in] str An object of ::RString. |