mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[DOC] Fix broken links to literals.rdoc
This commit is contained in:
parent
bc5662d9d8
commit
16fdc1ff46
9 changed files with 13 additions and 13 deletions
2
proc.c
2
proc.c
|
@ -3972,7 +3972,7 @@ proc_ruby2_keywords(VALUE procval)
|
|||
*
|
||||
* lambda1 = lambda {|x| x**2 }
|
||||
*
|
||||
* * Use the {Lambda proc literal}[doc/syntax/literals_rdoc.html#label-Lambda+Proc+Literals] syntax
|
||||
* * Use the {Lambda proc literal}[rdoc-ref:syntax/literals.rdoc@Lambda+Proc+Literals] syntax
|
||||
* (also constructs a proc with lambda semantics):
|
||||
*
|
||||
* lambda2 = ->(x) { x**2 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue