Fix some typos in the documentation.

And some minor clean-ups. There should be no semantic changes to the
documentation in this patch.
This commit is contained in:
Chris Palmer committed 2020-01-03 17:53:58 -08:00
1 parent 6f7e9dfa26
commit e9fdc38300
19 files changed
+39 -41

No files matched your search

+4 -5
View File
@@ -48,11 +48,10 @@ etcetera
i = i + 1
```
fails the compile-time bounds / overflow checker, because the assignment's
RHS's (Right Hand Side's) range, `[1 ..= 11]`, is not wholly contained by the
LHS (Left Hand Side) variable's range: `i` has range `[0 ..= 10]`. If `i` had
an unrefined type, such as `base.u32`, then this is essentially an overflow
check.
fails the compile-time bounds/overflow checker, because the assignment's RHS's
(Right Hand Side's) range, `[1 ..= 11]`, is not wholly contained by the LHS
(Left Hand Side) variable's range: `i` has range `[0 ..= 10]`. If `i` had an
unrefined type, such as `base.u32`, then this is essentially an overflow check.
## Masking Array Indexes