Skip to content

Commit

Permalink
Reworded 'as' mention
Browse files Browse the repository at this point in the history
  • Loading branch information
AloeareV committed Aug 27, 2020
1 parent 21bffc2 commit d5372c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/type-coercions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
They happen automatically at specific locations and are highly restricted in
what types actually coerce.

The [type cast operator], `as`, is not a coersion site. However, most type
conversions allowed by coersion can also be explicitly performed by `as`.
Any conversions allowed by coercion can also be explicitly performed by the
[type cast operator], `as`.

Coercions are originally defined in [RFC 401] and expanded upon in [RFC 1558].


## Coercion sites

A coercion can only occur at certain coercion sites in a program; these are
Expand Down

0 comments on commit d5372c9

Please sign in to comment.