Skip to content

Commit a209dc7

Browse files
committed
Fixed typos in Mix.Deps.Retriever docs
1 parent b6ea6b6 commit a209dc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mix/lib/mix/deps/retriever.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule Mix.Deps.Retriever do
55
@moduledoc false
66

77
@doc """
8-
Gets all direct children for the current Mix.Project
8+
Gets all direct children of the current Mix.Project
99
as a `Mix.Dep` record.
1010
"""
1111
def children() do
@@ -16,7 +16,7 @@ defmodule Mix.Deps.Retriever do
1616
end
1717

1818
@doc """
19-
Gets all children for a given dependency.
19+
Gets all children of a given dependency.
2020
"""
2121
def children(dep, config) do
2222
cond do
@@ -36,7 +36,7 @@ defmodule Mix.Deps.Retriever do
3636
end
3737

3838
@doc """
39-
Receives a dependency and update its status.
39+
Updates the status of a dependency.
4040
"""
4141
def update(Mix.Dep[scm: scm, app: app, requirement: req, opts: opts,
4242
manager: manager, from: from]) do
@@ -71,7 +71,7 @@ defmodule Mix.Deps.Retriever do
7171

7272
if match?({ _, req, _ } when is_regex(req), tuple) and
7373
not String.ends_with?(from, "rebar.config") do
74-
Mix.shell.info("[WARNING] Regex version requirement for dependencies is " <>
74+
Mix.shell.info("[WARNING] Regex version requirements for dependencies are " <>
7575
"deprecated, please use Mix.Version instead")
7676
end
7777

0 commit comments

Comments
 (0)