summaryrefslogtreecommitdiffhomepage
path: root/src/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kernel.c b/src/kernel.c
index 6f2c46e51..c47b5c4a5 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -1117,12 +1117,8 @@ get_errinfo(mrb_state *mrb)
* raise
* raise(string)
* raise(exception [, string [, array]])
- * fail
- * fail(string)
- * fail(exception [, string [, array]])
*
- * With no arguments, raises the exception in <code>$!</code> or raises
- * a <code>RuntimeError</code> if <code>$!</code> is +nil+.
+ * With no arguments, raises a <code>RuntimeError</code>
* With a single +String+ argument, raises a
* +RuntimeError+ with the string as a message. Otherwise,
* the first parameter should be the name of an +Exception+