Skip to content

Commit 7048f60

Browse files
authored
Fix spelling typos in docs and comments (#15083)
1 parent 4940d0f commit 7048f60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/elixir/lib/module/types/of.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ defmodule Module.Types.Of do
577577
:integer when alignment_value == :default ->
578578
{0, context}
579579

580-
# There is no size, so the aligment depends on the type.
580+
# There is no size, so the alignment depends on the type.
581581
# If the type is exclusively a binary, then it is aligned.
582582
:bitstring when alignment_value == :default ->
583583
if bitstring_no_binary_type?(actual), do: {:unknown, context}, else: {0, context}

lib/elixir/pages/references/gradual-set-theoretic-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ In the examples above, all map keys were atoms, but we can also use other types
141141
%{..., binary() or atom() => integer()}
142142
```
143143

144-
Currently, the type system only tracks the top of each individial type as the domain keys. For example, if you say:
144+
Currently, the type system only tracks the top of each individual type as the domain keys. For example, if you say:
145145

146146
```elixir
147147
%{list(integer()) => integer(), list(binary()) => binary()}

0 commit comments

Comments
 (0)