summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--complex.c2
-rw-r--r--re.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/complex.c b/complex.c
index 1d7ae694d5..999c5e5814 100644
--- a/complex.c
+++ b/complex.c
@@ -2473,7 +2473,7 @@ float_arg(VALUE self)
*
* You can create a \Complex object from rectangular coordinates with:
*
- * - A {complex literal}[rdoc-ref:doc/syntax/literals.rdoc@Complex+Literals].
+ * - A {complex literal}[rdoc-ref:syntax/literals.rdoc@Complex+Literals].
* - \Method Complex.rect.
* - \Method Kernel#Complex, either with numeric arguments or with certain string arguments.
* - \Method String#to_c, for certain strings.
diff --git a/re.c b/re.c
index 215098ba21..997837ec00 100644
--- a/re.c
+++ b/re.c
@@ -3653,7 +3653,7 @@ reg_match_pos(VALUE re, VALUE *strp, long pos, VALUE* set_match)
* if and only if +self+:
*
* - Is a regexp literal;
- * see {Regexp Literals}[rdoc-ref:literals.rdoc@Regexp+Literals].
+ * see {Regexp Literals}[rdoc-ref:syntax/literals.rdoc@Regexp+Literals].
* - Does not contain interpolations;
* see {Regexp interpolation}[rdoc-ref:Regexp@Interpolation+Mode].
* - Is at the left of the expression.