diff --git a/lib/elixir/lib/module/types/of.ex b/lib/elixir/lib/module/types/of.ex index c6cc41ab513..98daa6a6544 100644 --- a/lib/elixir/lib/module/types/of.ex +++ b/lib/elixir/lib/module/types/of.ex @@ -341,7 +341,7 @@ defmodule Module.Types.Of do @doc """ Builds a type from the struct info. """ - # TODO: This function shuold not receive args_types once + # TODO: This function should not receive args_types once # we introduce typed structs. They are only used by exceptions. def struct_type(struct, info, args_types \\ []) do term = dynamic() diff --git a/lib/mix/lib/mix/pubsub.ex b/lib/mix/lib/mix/pubsub.ex index 18cc81ed060..5926bfcff77 100644 --- a/lib/mix/lib/mix/pubsub.ex +++ b/lib/mix/lib/mix/pubsub.ex @@ -17,7 +17,7 @@ defmodule Mix.PubSub do # modules are available, so we start the local subscriber process # separately with `start/0`, and then start the listeners later # with `start_listeners/0`. The subscriber is going to accumulate - # events and reply them once the listenres are started. + # events and reply them once the listeners are started. @spec start :: :ok def start do