diff options
author | Stan Lo <[email protected]> | 2024-12-14 19:10:32 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-12-15 15:36:08 +0900 |
commit | 730731cc86d1cf87a3478ffc242d52c70eda2e42 (patch) | |
tree | 9f10d6f3d1edc197491efe21a70fd360c28a81df | |
parent | e9926afb24d00ffd721c39d535a3b91cb8a0ea56 (diff) |
Fix links to syntax/literals.rdoc
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12348
-rw-r--r-- | complex.c | 2 | ||||
-rw-r--r-- | re.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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. @@ -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. |