diff --git a/lib/elixir/lib/calendar/naive_datetime.ex b/lib/elixir/lib/calendar/naive_datetime.ex index 386a65f320..01dab36811 100644 --- a/lib/elixir/lib/calendar/naive_datetime.ex +++ b/lib/elixir/lib/calendar/naive_datetime.ex @@ -754,7 +754,7 @@ defmodule NaiveDateTime do @doc """ Converts the given naive datetime to a string according to its calendar. - For redability, this function follows the RFC3339 suggestion of removing + For readability, this function follows the RFC3339 suggestion of removing the "T" separator between the date and time components. ### Examples diff --git a/lib/elixir/lib/module/types/helpers.ex b/lib/elixir/lib/module/types/helpers.ex index 77d0270c91..7ae354bef5 100644 --- a/lib/elixir/lib/module/types/helpers.ex +++ b/lib/elixir/lib/module/types/helpers.ex @@ -239,7 +239,7 @@ defmodule Module.Types.Helpers do Converts the given expression to a string, translating inlined Erlang calls back to Elixir. - We also undo some macro expresions done by the Kernel module. + We also undo some macro expressions done by the Kernel module. """ def expr_to_string(expr) do expr diff --git a/lib/elixir/src/elixir_json.erl b/lib/elixir/src/elixir_json.erl index f2a443c2fc..6413fb1e8d 100644 --- a/lib/elixir/src/elixir_json.erl +++ b/lib/elixir/src/elixir_json.erl @@ -716,7 +716,7 @@ value(<<$[, Rest/bits>>, Original, Skip, Acc, Stack, Decode) -> value(<<${, Rest/bits>>, Original, Skip, Acc, Stack, Decode) -> object_start(Rest, Original, Skip, Acc, Stack, Decode, 1); value(<>, Original, Skip, _Acc, _Stack, _Decode) when ?is_ascii_plain(Byte) -> - %% this clause is effecively the same as the last one, but necessary to + %% this clause is effectively the same as the last one, but necessary to %% force compiler to emit a jump table dispatch, rather than binary search invalid_byte(Original, Skip); value(_, Original, Skip, Acc, Stack, Decode) ->