Skip to content

Commit

Permalink
improve Channel special constructor docstring (#43979)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris committed Feb 12, 2022
1 parent e376fcc commit b1d152d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/channels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Channel(sz=0) = Channel{Any}(sz)
Create a new task from `func`, bind it to a new channel of type
`T` and size `size`, and schedule the task, all in a single call.
The channel is automatically closed when the task terminates.
`func` must accept the bound channel as its only argument.
Expand Down

0 comments on commit b1d152d

Please sign in to comment.