@ -3,7 +3,7 @@
//
// "Players take turns to count incrementally, replacing
// any number divisible by three with the word "fizz",
// and any number divisible by five with the word "buzz".
// - From https://en.wikipedia.org/wiki/Fizz_buzz
// Let's go from 1 to 16. This has been started for you, but there's
@ -59,7 +59,7 @@ fn fixTooSmall(n: u32) MyNumberError!u32 {
// If we get a TooSmall error, we should return 10.
// If we get any other error, we should return that error.
// Otherwise, we return the u32 number.
return detectProblems(n) ???
}
fn detectProblems(n: u32) MyNumberError!u32 {
@ -8,7 +8,7 @@
// var foo: []u8 = "foobar"[0..3];
// to:
// var foo: []const u8 = "foobar"[0..3];
// See if you can fix this Zero Wing-inspired phrase descrambler: