diff options
author | Yudai Takada <[email protected]> | 2024-12-22 18:08:39 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-22 18:08:39 +0900 |
commit | b0d40d3d039d50afd6ca7e95f77cfb3932a50b69 (patch) | |
tree | 674b04d75ae7929574e65bda4d478af4fd9c07e9 | |
parent | 3808d29e2001c374f3bcda32a42519d6c28e5d09 (diff) |
[DOC] Fix typos in comments in ractor.c
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12425
Merged-By: nobu <[email protected]>
-rw-r--r-- | ractor.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1740,7 +1740,7 @@ ractor_selector__wait(VALUE selv, VALUE do_receivev, VALUE do_yieldv, VALUE yiel } RACTOR_UNLOCK_SELF(cr); - // check the taken resutl + // check the taken result switch (taken_basket.type.e) { case basket_type_none: VM_ASSERT(do_receive || do_yield); @@ -3898,7 +3898,7 @@ ractor_local_value_store_i(VALUE ptr) struct ractor_local_storage_store_data *data = (struct ractor_local_storage_store_data *)ptr; if (rb_id_table_lookup(data->tbl, data->id, &val)) { - // after synchronization, we found already registerred entry + // after synchronization, we found already registered entry } else { val = rb_yield(Qnil); |