Skip to content

Commit 79d1841

Browse files
committed
correct tenses in Agent, Mix.Dep, GenServer docs
fix
1 parent 08de436 commit 79d1841

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/elixir/lib/agent.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule Agent do
3434
Agent.update(__MODULE__, &Set.put(&1, item))
3535
end
3636
37-
@doc "Reset the executed tasks and return the previous list of tasks"
37+
@doc "Resets the executed tasks and return the previous list of tasks"
3838
def take_all() do
3939
Agent.get_and_update(__MODULE__, fn set ->
4040
{Enum.into(set, []), HashSet.new}

lib/elixir/lib/gen_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ defmodule GenServer do
385385
{:timeout, timeout} |
386386
{:spawn_opt, Process.spawn_opt}
387387

388-
@typedoc "debug options supported by the `start*` functions"
388+
@typedoc "Debug options supported by the `start*` functions"
389389
@type debug :: [:trace | :log | :statistics | {:log_to_file, Path.t}]
390390

391391
@typedoc "The server reference"

lib/mix/lib/mix/dep.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ defmodule Mix.Dep do
22
@moduledoc false
33

44
@doc """
5-
The Mix.Dep a struct keeps information about your project dependencies.
5+
The Mix.Dep struct keeps information about your project dependencies.
6+
67
It contains:
78
89
* `scm` - a module representing the source code management tool (SCM)

0 commit comments

Comments
 (0)