diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -579,7 +579,7 @@ const Scripts = @import("Scripts"); | |||
| 579 | 579 | ||
| 580 | test "Scripts" { | 580 | test "Scripts" { |
| 581 | // To see the full list of Scripts, look at the | 581 | // To see the full list of Scripts, look at the |
| 582 | // `src/Scripts.zig` file. They are list in an enum. | 582 | // `src/Scripts.zig` file. They are listed as an enum. |
| 583 | try expect(Scripts.script('A') == .Latin); | 583 | try expect(Scripts.script('A') == .Latin); |
| 584 | try expect(Scripts.script('Ω') == .Greek); | 584 | try expect(Scripts.script('Ω') == .Greek); |
| 585 | try expect(Scripts.script('צ') == .Hebrew); | 585 | try expect(Scripts.script('צ') == .Hebrew); |
| @@ -621,7 +621,7 @@ the fragment (`CodePoint` uses a `u3` for length, actually). | |||
| 621 | 4GiB is a lot of string. There are a few reasons to work with that much | 621 | 4GiB is a lot of string. There are a few reasons to work with that much |
| 622 | string, log files primarily, but fewer to bring it all into memory at | 622 | string, log files primarily, but fewer to bring it all into memory at |
| 623 | once, and practically no reason at all to do anything to such a string | 623 | once, and practically no reason at all to do anything to such a string |
| 624 | without breaking it into smaller piece to work with. | 624 | without breaking it into smaller pieces to work with. |
| 625 | 625 | ||
| 626 | Also, Zig compiles on 32 bit systems, where `usize` is a `u32`. Code | 626 | Also, Zig compiles on 32 bit systems, where `usize` is a `u32`. Code |
| 627 | running on such systems has no choice but to handle slices in smaller | 627 | running on such systems has no choice but to handle slices in smaller |