summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorVictor Shepelev <[email protected]>2023-12-09 06:54:33 +0200
committerGitHub <[email protected]>2023-12-09 13:54:33 +0900
commit07734b51c66756c4a7a512ebb4736763542d99f3 (patch)
tree3f60a9035ba9ee2538ef5d6eb7f40ac232c67261 /cont.c
parent1cbe114d1cf57dc47b4bbc6780f424647dd906d9 (diff)
[DOC] Small fixes for documentation rendering
Mostly just fixing RDoc's incorrect treatment of `+`
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cont.c b/cont.c
index dceeaffa03..e345ac42c1 100644
--- a/cont.c
+++ b/cont.c
@@ -3272,18 +3272,18 @@ rb_fiber_m_raise(int argc, VALUE *argv, VALUE self)
* call-seq:
* fiber.kill -> nil
*
- * Terminates +fiber+ by raising an uncatchable exception.
- * It only terminates the given Fiber and no other Fiber, returning +nil+ to
- * another Fiber if that Fiber was calling +fiber.resume+ or +fiber.transfer+.
+ * Terminates the fiber by raising an uncatchable exception.
+ * It only terminates the given fiber and no other fiber, returning +nil+ to
+ * another fiber if that fiber was calling #resume or #transfer.
*
- * +Fiber#kill+ only interrupts another Fiber when it is in +Fiber.yield+.
- * If called on the current Fiber then it raises that exception at the +Fiber#kill+ call site.
+ * <tt>Fiber#kill</tt> only interrupts another fiber when it is in Fiber.yield.
+ * If called on the current fiber then it raises that exception at the <tt>Fiber#kill</tt> call site.
*
* If the fiber has not been started, transition directly to the terminated state.
*
* If the fiber is already terminated, does nothing.
*
- * Raises +FiberError+ if called on a Fiber belonging to another +Thread+.
+ * Raises FiberError if called on a fiber belonging to another thread.
*/
static VALUE
rb_fiber_m_kill(VALUE self)