From 9f42ee3e529759dc18a92ed4d3bbd0612787d8fd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 21 Dec 2022 14:32:05 +0900 Subject: [DOC] Fix formatting --- cont.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cont.c b/cont.c index 004ca6fb0f..02b3279784 100644 --- a/cont.c +++ b/cont.c @@ -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 storage 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 storage: true is currently experimental and may * change in the future. */ static VALUE -- cgit v1.2.1