summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/core/rtypeddata.h2
-rw-r--r--include/ruby/ractor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/internal/core/rtypeddata.h b/include/ruby/internal/core/rtypeddata.h
index ee79c2e2a9..ebcac2c846 100644
--- a/include/ruby/internal/core/rtypeddata.h
+++ b/include/ruby/internal/core/rtypeddata.h
@@ -160,7 +160,7 @@ rbimpl_typeddata_flags {
// experimental flag
// Similar to RUBY_TYPED_FROZEN_SHAREABLE, but doesn't make shareable
// reachable objects from this T_DATA object on the Ractor.make_shareable.
- // If it refers to unsharable objects, simply raise an error.
+ // If it refers to unshareable objects, simply raise an error.
// RUBY_TYPED_FROZEN_SHAREABLE_NO_REC = RUBY_FL_FINALIZE,
/**
diff --git a/include/ruby/ractor.h b/include/ruby/ractor.h
index 85222bbe11..8cfca21621 100644
--- a/include/ruby/ractor.h
+++ b/include/ruby/ractor.h
@@ -217,7 +217,7 @@ VALUE rb_ractor_make_shareable(VALUE obj);
*
* @param[in] obj Arbitrary ruby object to duplicate.
* @exception rb_eRactorError Ractors cannot share `obj` by nature.
- * @return A deep copy of `obj` which is sharable among Ractors.
+ * @return A deep copy of `obj` which is shareable among Ractors.
*/
VALUE rb_ractor_make_shareable_copy(VALUE obj);