aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index 0c4b7df7f7..6605043e05 100644
--- a/thread.c
+++ b/thread.c
@@ -2057,14 +2057,14 @@ rb_thread_fd_close(int fd)
* thr.raise(string)
* thr.raise(exception [, string [, array]])
*
- * Raises an exception (see <code>Kernel::raise</code>) from <i>thr</i>. The
- * caller does not have to be <i>thr</i>.
+ * Raises an exception from the given thread. The caller does not have to be
+ * +thr+. See Kernel#raise for more information.
*
* Thread.abort_on_exception = true
* a = Thread.new { sleep(200) }
* a.raise("Gotcha")
*
- * <em>produces:</em>
+ * _produces:_
*
* prog.rb:3: Gotcha (RuntimeError)
* from prog.rb:2:in `initialize'