aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/thread.c b/thread.c
index 59935a2e1c..213a3e5fb7 100644
--- a/thread.c
+++ b/thread.c
@@ -3255,10 +3255,10 @@ rb_thread_aref(VALUE thread, VALUE key)
*
* Returns a fiber-local for the given key. If the key can't be
* found, there are several options: With no other arguments, it will
- * raise a <code>KeyError</code> exception; if <i>default</i> is
- * given, then that will be returned; if the optional code block is
- * specified, then that will be run and its result returned.
- * See Thread#[] and Hash#fetch.
+ * raise a KeyError exception; if <i>default</i> is given, then that
+ * will be returned; if the optional code block is specified, then
+ * that will be run and its result returned. See Thread#[] and
+ * Hash#fetch.
*/
static VALUE
rb_thread_fetch(int argc, VALUE *argv, VALUE self)