Fix links to syntax/literals.rdoc

This commit is contained in:
Stan Lo 2024-12-14 19:10:32 +00:00 committed by Nobuyoshi Nakada
parent e9926afb24
commit 730731cc86
Notes: git 2024-12-15 06:36:25 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -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.