Skip to content

Commit 6096a05

Browse files
committed
[DOC] Fix link in ErrorHighlight
1 parent dc2dad6 commit 6096a05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/error_highlight/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module ErrorHighlight
2828
# Currently, ErrorHighlight.spot only supports a single-line code fragment.
2929
# Therefore, if the return value is not nil, first_lineno and last_lineno will have
3030
# the same value. If the relevant code fragment spans multiple lines
31-
# (e.g., Array#[] of +ary[(newline)expr(newline)]+), the method will return nil.
31+
# (e.g., Array#[] of <tt>ary[(newline)expr(newline)]</tt>), the method will return nil.
3232
# This restriction may be removed in the future.
3333
def self.spot(obj, **opts)
3434
case obj

0 commit comments

Comments
 (0)