ruby-changes:59421
From: Marcus <ko1@a...>
Date: Tue, 24 Dec 2019 06:44:11 +0900 (JST)
Subject: [ruby-changes:59421] df6f5c44af (master): [DOC] Fix invalid code to make it syntax highlighted
https://git.ruby-lang.org/ruby.git/commit/?id=df6f5c44af From df6f5c44af1f261fa940ec3954468be8b820450e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer <sto.mar@w...> Date: Mon, 23 Dec 2019 22:41:58 +0100 Subject: [DOC] Fix invalid code to make it syntax highlighted diff --git a/vm.c b/vm.c index 4645c35..bb3ffae 100644 --- a/vm.c +++ b/vm.c @@ -3057,7 +3057,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L3057 * * The class method ::kill, is meant to exit a given thread: * - * thr = Thread.new { ... } + * thr = Thread.new { sleep } * Thread.kill(thr) # sends exit() to thr * * Alternatively, you can use the instance method #exit, or any of its -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/