summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2024-12-12 12:55:22 +0000
committerPeter Zhu <[email protected]>2024-12-12 16:43:25 -0500
commitff8570b005e552685d518898b866070ff116eab6 (patch)
treea8f11517e26f9f57b76ae5cd6c5e1eb757726a3c /error.c
parent0bdb38ba6be208064a514c12a9b80328645689f8 (diff)
Fix LoadError's linking issue
Original issue: https://github.com/ruby/rdoc/issues/1128 The problem is caused by the `# :stopdoc:` directive in `bundled_gems.rb`, which's scope covers the redefinition of `LoadError`. Since the goal of `# :stopdoc:` is to hide the documentation of `Gem::BUNDLED_GEMS`, we can use `# :nodoc:` on it instead.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12317
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 59c6fa7dd6..f661806f3e 100644
--- a/error.c
+++ b/error.c
@@ -3401,7 +3401,7 @@ syserr_eqq(VALUE self, VALUE exc)
*
* * NoMemoryError
* * ScriptError
- * * {LoadError}[https://docs.ruby-lang.org/en/master/LoadError.html]
+ * * LoadError
* * NotImplementedError
* * SyntaxError
* * SecurityError