Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify in docs that zero is not considered a positive-int #8060

Merged
merged 3 commits into from
Jun 6, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/annotating_code/type_syntax/scalar_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The type `scalar` is the supertype of all scalar types.

### positive-int

`positive-int` allows only positive integers
`positive-int` allows only positive integers (equivalent to int<1, max>)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight nitpick: use backticks for int<1, max>?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.


### numeric

Expand Down