Skip to content

Commit

Permalink
Fix incorrect rdoc-ref links in array.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored and XrXr committed Dec 13, 2024
1 parent b37777c commit 211857f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions array.c
Original file line number Diff line number Diff line change
Expand Up @@ -8288,16 +8288,16 @@ rb_ary_deconstruct(VALUE ary)
*
* You can create an \Array object explicitly with:
*
* - An {array literal}[rdoc-ref:literals.rdoc@Array+Literals]:
* - An {array literal}[rdoc-ref:syntax/literals.rdoc@Array+Literals]:
*
* [1, 'one', :one, [2, 'two', :two]]
*
* - A {%w or %W: string-array Literal}[rdoc-ref:literals.rdoc@25w+and+-25W-3A+String-Array+Literals]:
* - A {%w or %W string-array Literal}[rdoc-ref:syntax/literals.rdoc@25w+and+-25W-3A+String-Array+Literals]:
*
* %w[foo bar baz] # => ["foo", "bar", "baz"]
* %w[1 % *] # => ["1", "%", "*"]
*
* - A {%i pr %I: symbol-array Literal}[rdoc-ref:literals.rdoc@25i+and+-25I-3A+Symbol-Array+Literals]:
* - A {%i or %I symbol-array Literal}[rdoc-ref:syntax/literals.rdoc@25i+and+-25I-3A+Symbol-Array+Literals]:
*
* %i[foo bar baz] # => [:foo, :bar, :baz]
* %i[1 % *] # => [:"1", :%, :*]
Expand Down

0 comments on commit 211857f

Please sign in to comment.