core/fiber.rbs in rbs-3.2.0 vs core/fiber.rbs in rbs-3.2.1
- old
+ new
@@ -84,11 +84,11 @@
#
# The `key` must be a symbol, and the value is set by Fiber#[]= or Fiber#store.
#
# See also Fiber::[]=.
#
- def self.[]: (Symbol | String) -> untyped
+ def self.[]: (Symbol) -> untyped
# <!--
# rdoc-file=cont.c
# - Fiber[key] = value
# -->
@@ -97,10 +97,10 @@
#
# `key` must be a Symbol, otherwise a TypeError is raised.
#
# See also Fiber::[].
#
- def self.[]=: [A] (Symbol | String, A) -> A
+ def self.[]=: [A] (Symbol, A) -> A
# <!--
# rdoc-file=cont.c
# - Fiber.blocking? -> false or 1
# -->