From 833a844188fef88319963d3baeab013360535dbc Mon Sep 17 00:00:00 2001 From: Art Kay Date: Thu, 6 Mar 2025 22:07:43 -0500 Subject: [PATCH] Fix two more typos in comments --- lib/elixir/lib/module/types/of.ex | 2 +- lib/mix/lib/mix/pubsub.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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