Skip to content

Commit 8302dbf

Browse files
authored
Fix typos (#14128)
1 parent a4cb71c commit 8302dbf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/elixir/lib/calendar/naive_datetime.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ defmodule NaiveDateTime do
754754
@doc """
755755
Converts the given naive datetime to a string according to its calendar.
756756
757-
For redability, this function follows the RFC3339 suggestion of removing
757+
For readability, this function follows the RFC3339 suggestion of removing
758758
the "T" separator between the date and time components.
759759
760760
### Examples

lib/elixir/lib/module/types/helpers.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ defmodule Module.Types.Helpers do
239239
Converts the given expression to a string,
240240
translating inlined Erlang calls back to Elixir.
241241
242-
We also undo some macro expresions done by the Kernel module.
242+
We also undo some macro expressions done by the Kernel module.
243243
"""
244244
def expr_to_string(expr) do
245245
expr

lib/elixir/src/elixir_json.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ value(<<$[, Rest/bits>>, Original, Skip, Acc, Stack, Decode) ->
716716
value(<<${, Rest/bits>>, Original, Skip, Acc, Stack, Decode) ->
717717
object_start(Rest, Original, Skip, Acc, Stack, Decode, 1);
718718
value(<<Byte, _/bits>>, Original, Skip, _Acc, _Stack, _Decode) when ?is_ascii_plain(Byte) ->
719-
%% this clause is effecively the same as the last one, but necessary to
719+
%% this clause is effectively the same as the last one, but necessary to
720720
%% force compiler to emit a jump table dispatch, rather than binary search
721721
invalid_byte(Original, Skip);
722722
value(_, Original, Skip, Acc, Stack, Decode) ->

0 commit comments

Comments
 (0)