diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-21 14:32:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-21 14:34:40 +0900 |
commit | 9f42ee3e529759dc18a92ed4d3bbd0612787d8fd (patch) | |
tree | 5b85c034e6155c578dd74404f9e304c10222687d /cont.c | |
parent | 1e989c49a823c7257040fdd1d712a06a5acd6a60 (diff) |
[DOC] Fix formatting
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2069,7 +2069,9 @@ fiber_storage_get(rb_fiber_t *fiber) return storage; } -static void storage_access_must_be_from_same_fiber(VALUE self) { +static void +storage_access_must_be_from_same_fiber(VALUE self) +{ rb_fiber_t *fiber = fiber_ptr(self); rb_fiber_t *current = fiber_current(); if (fiber != current) { @@ -2323,7 +2325,7 @@ rb_fiber_initialize_kw(int argc, VALUE* argv, VALUE self, int kw_splat) * Otherwise, the given <tt>storage</tt> is used as the new fiber's storage, * and it must be an instance of Hash. * - * Explicitly using `storage: true` is currently experimental and may + * Explicitly using <tt>storage: true</tt> is currently experimental and may * change in the future. */ static VALUE |