[DOC] Fix wrong call-seq format (#12662)

This commit is contained in:
tomoya ishida 2025-01-29 21:53:00 +09:00 committed by GitHub
parent e01b4ca1c8
commit 2d3d7a74e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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

View file

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