summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2022-12-20 23:02:25 +0100
committerBenoit Daloze <eregontp@gmail.com>2022-12-20 23:05:56 +0100
commit33debffdd3aa0ef9752857530c125f0a889db970 (patch)
tree0239b54b88841e730302ed577c574fed75f4ca32 /cont.c
parent4495dea153a097c59d56819bc827bebfbef5be3f (diff)
downloadruby-33debffdd3aa0ef9752857530c125f0a889db970.tar.gz
Use "Fiber storage variables" consistently
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index 71d93cebd0..004ca6fb0f 100644
--- a/cont.c
+++ b/cont.c
@@ -2153,7 +2153,7 @@ rb_fiber_storage_set(VALUE self, VALUE value)
/**
* call-seq: Fiber[key] -> value
*
- * Returns the value of the fiber-scoped variable identified by +key+.
+ * Returns the value of the fiber storage variable identified by +key+.
*
* The +key+ must be a symbol, and the value is set by Fiber#[]= or
* Fiber#store.
@@ -2176,7 +2176,7 @@ rb_fiber_storage_aref(VALUE class, VALUE key)
/**
* call-seq: Fiber[key] = value
*
- * Assign +value+ to the fiber-scoped variable identified by +key+.
+ * Assign +value+ to the fiber storage variable identified by +key+.
* The variable is created if it doesn't exist.
*
* +key+ must be a Symbol, otherwise a TypeError is raised.