aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2020-12-23 21:56:04 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2020-12-23 21:56:04 +0100
commitae26d5bd41ba3718073176a6be7b16924c5b138b (patch)
treee3a54e338f122580a6a1677e41096ed8c4c9cc85 /doc
parent7340e7f82780f529d80490045f5ea3e2559d563c (diff)
downloadruby-ae26d5bd41ba3718073176a6be7b16924c5b138b.tar.gz
doc/fiber.md: fix typos
Diffstat (limited to 'doc')
-rw-r--r--doc/fiber.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/fiber.md b/doc/fiber.md
index 7a1580a048..5abd848677 100644
--- a/doc/fiber.md
+++ b/doc/fiber.md
@@ -39,7 +39,7 @@ instrumentation.
To set the scheduler for the current thread:
``` ruby
-Fiber.set_schduler(MyScheduler.new)
+Fiber.set_scheduler(MyScheduler.new)
```
When the thread exits, there is an implicit call to `set_scheduler`:
@@ -182,7 +182,7 @@ fiber-specific.
#### Queue / SizedQueue
-The `Queue` and `SizedQueue` classses can be used in a non-blocking context and
+The `Queue` and `SizedQueue` classes can be used in a non-blocking context and
are fiber-specific.
#### Thread