Merge pull request #68 from Palm404/main

feat: Add more comparison operator coverage in 009_if.zig
pull/2/head
Dave Gauer 3 years ago committed by GitHub
commit 008ad0d26b

@ -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

@ -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| {
//

@ -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 {

Loading…
Cancel
Save