summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2026-02-06 18:14:56 +0000
committergit <svn-admin@ruby-lang.org>2026-02-06 23:32:33 +0000
commitd79ce7e4e98f3f37e8afe106e739b71601b1a3e8 (patch)
tree06a9733949c9720966dfeef6372fef69ccda2a47 /lib
parent954094a910c2dcf459caeb61e20143df0864f914 (diff)
[ruby/error_highlight] [DOC] Fix link in ErrorHighlight
https://github.com/ruby/error_highlight/commit/6096a05b2f
Diffstat (limited to 'lib')
-rw-r--r--lib/error_highlight/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error_highlight/base.rb b/lib/error_highlight/base.rb
index bc4a62c9d6..5fffe5ec34 100644
--- a/lib/error_highlight/base.rb
+++ b/lib/error_highlight/base.rb
@@ -28,7 +28,7 @@ module ErrorHighlight
# Currently, ErrorHighlight.spot only supports a single-line code fragment.
# Therefore, if the return value is not nil, first_lineno and last_lineno will have
# the same value. If the relevant code fragment spans multiple lines
- # (e.g., Array#[] of +ary[(newline)expr(newline)]+), the method will return nil.
+ # (e.g., Array#[] of <tt>ary[(newline)expr(newline)]</tt>), the method will return nil.
# This restriction may be removed in the future.
def self.spot(obj, **opts)
case obj