Skip to content

Commit 4346a41

Browse files
committed
Fix typos on Mix
1 parent b342739 commit 4346a41

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/mix/lib/mix/dep.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ defmodule Mix.Dep do
6262
end
6363

6464
@doc """
65-
Receives a list of dependency names and returns loaded `Mix.Dep`s.
65+
Receives a list of dependency names and returns loaded `Mix.Dep`s.
6666
Logs a message if the dependency could not be found.
6767
6868
## Exceptions

lib/mix/lib/mix/remote_converger.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule Mix.RemoteConverger do
2020
defcallback converge([Mix.Dep.t], map) :: map
2121

2222
@doc """
23-
Returns a child dependencies the converger has for the
23+
Returns child dependencies the converger has for the
2424
dependency. This list should filter the loaded children.
2525
"""
2626
defcallback deps(Mix.Dep.t, map) :: [atom]

lib/mix/lib/mix/scm.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ defmodule Mix.SCM do
8080
@doc """
8181
This behaviour function checks the status of the lock. In
8282
particular, it checks if the revision stored in the lock
83-
is the same as the repository is currently in. It may return:
83+
is the same as the repository it is currently in. It may return:
8484
8585
* `:mismatch` - if the lock doesn't match and we need to
8686
simply move to the latest lock
87-
* `:outdated` - the repository options are out of dated in the
87+
* `:outdated` - the repository options are outdated in the
8888
lock and we need to trigger a full update
8989
* `:ok` - everything is fine
9090
@@ -106,7 +106,7 @@ defmodule Mix.SCM do
106106
defcallback equal?(opts1 :: opts, opts2 :: opts) :: boolean
107107

108108
@doc """
109-
Returns all available SCM. Each SCM is tried in order
109+
Returns all available SCMs. Each SCM is tried in order
110110
until a matching one is found.
111111
"""
112112
def available do
@@ -123,7 +123,7 @@ defmodule Mix.SCM do
123123
end
124124

125125
@doc """
126-
Aopend the given SCM module to the list of available SCMs.
126+
Append the given SCM module to the list of available SCMs.
127127
"""
128128
def append(mod) when is_atom(mod) do
129129
available = Enum.reject(available(), &(&1 == mod))

0 commit comments

Comments
 (0)