Skip to content

Commit

Permalink
Fix typos (#14128)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchienjo authored Dec 29, 2024
1 parent a4cb71c commit 8302dbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/elixir/lib/calendar/naive_datetime.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/lib/module/types/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/src/elixir_json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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(<<Byte, _/bits>>, 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) ->
Expand Down

0 comments on commit 8302dbf

Please sign in to comment.