summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-02-08 01:39:37 +0900
committerNobuyoshi Nakada <[email protected]>2022-02-08 01:39:37 +0900
commit8ca7b0b68aaff46ad88638f95b26429fee02d04a (patch)
tree0fc047f41de38f018aab792ef41b579f96a093dd /string.c
parent07bf65858d8dd5acc11c6bddb370735466690b47 (diff)
[DOC] Fix broken links to operator methods
Once https://github.com/ruby/rdoc/pull/865 is merged, these hacks are no longer needed.
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 98b6090ff2..3127080529 100644
--- a/string.c
+++ b/string.c
@@ -4188,7 +4188,7 @@ rb_str_rindex_m(int argc, VALUE *argv, VALUE str)
* returned by <tt>object =~ self</tt>.
*
* Note that <tt>string =~ regexp</tt> is different from <tt>regexp =~ string</tt>
- * (see {Regexp#=~}[https://ruby-doc.org/core-2.7.1/Regexp.html#method-i-3D-7E]):
+ * (see {Regexp#=~}[Regexp.html#method-i-3D~]):
*
* number= nil
* "no. 9" =~ /(?<number>\d+)/