Skip to content

Commit 06fc222

Browse files
Minor supervisor docs improvements (#14730)
1 parent 32a5c97 commit 06fc222

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/elixir/lib/dynamic_supervisor.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule DynamicSupervisor do
1616
1717
## Examples
1818
19-
A dynamic supervisor is started with no children and often a name:
19+
A dynamic supervisor is started with no children and often with a name:
2020
2121
children = [
2222
{DynamicSupervisor, name: MyApp.DynamicSupervisor, strategy: :one_for_one}
@@ -480,7 +480,7 @@ defmodule DynamicSupervisor do
480480
end
481481

482482
@doc """
483-
Returns a list with information about all children.
483+
Returns a list with information about all children of the given supervisor.
484484
485485
Note that calling this function when supervising a large number
486486
of children under low memory conditions can bring the system down due to an

lib/elixir/lib/partition_supervisor.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ defmodule PartitionSupervisor do
450450
end
451451

452452
@doc """
453-
Returns a list with information about all children.
453+
Returns a list with information about all children of the given supervisor.
454454
455455
This function returns a list of tuples containing:
456456

0 commit comments

Comments
 (0)