Merge pull request #68 from Palm404/main

feat: Add more comparison operator coverage in 009_if.zig
This commit is contained in:
Dave Gauer 2021-08-19 08:33:17 -04:00 committed by GitHub
commit 38f8737163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@
//
// a == b means "a equals b"
// a < b means "a is less than b"
// a > b means "a is greater than b"
// a != b means "a does not equal b"
//
// The important thing about Zig's "if" is that it *only* accepts

View File

@ -1,6 +1,6 @@
//
// Behold the 'for' loop! It lets you execute code for each
// member of an array:
// Behold the 'for' loop! For loops let you execute code for each
// element of an array:
//
// for (items) |item| {
//

View File

@ -1,5 +1,5 @@
//
// Functions! We've already seen a lot of one called "main()". Now let's try
// Functions! We've already seen lots of ones called "main()". Now let's try
// writing one of our own:
//
// fn foo(n: u8) u8 {