mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix wrong call-seq format (#12662)
This commit is contained in:
parent
e01b4ca1c8
commit
2d3d7a74e9
Notes:
git
2025-01-29 12:53:17 +00:00
Merged-By: tompng <tomoyapenguin@gmail.com>
3 changed files with 4 additions and 8 deletions
8
thread.c
8
thread.c
|
@ -884,10 +884,10 @@ thread_create_core(VALUE thval, struct thread_create_params *params)
|
|||
#define threadptr_initialized(th) ((th)->invoke_type != thread_invoke_type_none)
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* Thread.new { ... } -> thread
|
||||
* Thread.new(*args, &proc) -> thread
|
||||
* Thread.new(*args) { |args| ... } -> thread
|
||||
* call-seq:
|
||||
* Thread.new { ... } -> thread
|
||||
* Thread.new(*args, &proc) -> thread
|
||||
* Thread.new(*args) { |args| ... } -> thread
|
||||
*
|
||||
* Creates a new thread executing the given block.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue