summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-20 09:19:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-20 09:32:42 +0900
commitdb166290088fb7d39d01f68b9860253893d4f1a7 (patch)
tree68c1b2c3e7ff00ed5cd6a214e6644a28dca22261 /vm.c
parent2898367b3a1de00ca78067cc17dd4d1f8df37778 (diff)
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index 8c0f05b0a9..4645c3577f 100644
--- a/vm.c
+++ b/vm.c
@@ -3014,12 +3014,12 @@ Init_VM(void)
* For example, we can create a new thread separate from the main thread's
* execution using ::new.
*
- * thr = Thread.new { puts "Whats the big deal" }
+ * thr = Thread.new { puts "What's the big deal" }
*
* Then we are able to pause the execution of the main thread and allow
* our new thread to finish, using #join:
*
- * thr.join #=> "Whats the big deal"
+ * thr.join #=> "What's the big deal"
*
* If we don't call +thr.join+ before the main thread terminates, then all
* other threads including +thr+ will be killed.
@@ -3028,7 +3028,7 @@ Init_VM(void)
* once, like in the following example:
*
* threads = []
- * threads << Thread.new { puts "Whats the big deal" }
+ * threads << Thread.new { puts "What's the big deal" }
* threads << Thread.new { 3.times { puts "Threads are fun!" } }
*
* After creating a few threads we wait for them all to finish