Skip to content

Commit

Permalink
fix missing punctuation in docs (#50126)
Browse files Browse the repository at this point in the history
* fix missing punctuation

* Update types.md

---------

Co-authored-by: Viral B. Shah <[email protected]>
  • Loading branch information
sciprosk and ViralBShah authored Jun 15, 2023
1 parent 9d1ac97 commit 0aa93e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ kinds of programming, however, become clearer, simpler, faster and more robust w
The `::` operator can be used to attach type annotations to expressions and variables in programs.
There are two primary reasons to do this:

1. As an assertion to help confirm that your program works the way you expect,
1. As an assertion to help confirm that your program works the way you expect, and
2. To provide extra type information to the compiler, which can then improve performance in some
cases
cases.

When appended to an expression computing a value, the `::` operator is read as "is an instance
of". It can be used anywhere to assert that the value of the expression on the left is an instance
Expand Down

0 comments on commit 0aa93e3

Please sign in to comment.