Skip to content

Commit 4d6aa11

Browse files
authored
Small grammatical fixes
1 parent 7e9f313 commit 4d6aa11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/intersection-types-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ A & B <: B A & B <: A
4141
A & B <: B & A
4242
```
4343

44-
In another word, `A & B` is the same type as `B & A`, in that sense that the two types
44+
In another word, `A & B` is the same type as `B & A`, in the sense that the two types
4545
have the same values and are subtypes of each other.
4646

4747
If `C` is a type constructor, the join `C[A] & C[B]` is simplified by pulling the
@@ -93,7 +93,7 @@ glb(_, B) = B if B is not a trait
9393
glb(A, _) = A
9494
```
9595

96-
In the above, we use `|T|` to mean the erased type of `T`, `JArray` means
96+
In the above, `|T|` means the erased type of `T`, `JArray` refers to
9797
the type of Java Array.
9898

9999
## Relationship with Compound Type (`with`)

0 commit comments

Comments
 (0)