Merge pull request #36 from JosephTLyons/Whitespace-cleanup

Cleaned up some trailing whitespace
This commit is contained in:
Dave Gauer 2021-03-14 15:31:40 -04:00 committed by GitHub
commit 1c74f82293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
// //
// "Players take turns to count incrementally, replacing // "Players take turns to count incrementally, replacing
// any number divisible by three with the word "fizz", // any number divisible by three with the word "fizz",
// and any number divisible by five with the word "buzz". // and any number divisible by five with the word "buzz".
// - From https://en.wikipedia.org/wiki/Fizz_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 // Let's go from 1 to 16. This has been started for you, but there's

View file

@ -59,7 +59,7 @@ fn fixTooSmall(n: u32) MyNumberError!u32 {
// If we get a TooSmall error, we should return 10. // If we get a TooSmall error, we should return 10.
// If we get any other error, we should return that error. // If we get any other error, we should return that error.
// Otherwise, we return the u32 number. // Otherwise, we return the u32 number.
return detectProblems(n) ??? return detectProblems(n) ???
} }
fn detectProblems(n: u32) MyNumberError!u32 { fn detectProblems(n: u32) MyNumberError!u32 {

View file

@ -8,7 +8,7 @@
// var foo: []u8 = "foobar"[0..3]; // var foo: []u8 = "foobar"[0..3];
// //
// to: // to:
// //
// var foo: []const u8 = "foobar"[0..3]; // var foo: []const u8 = "foobar"[0..3];
// //
// See if you can fix this Zero Wing-inspired phrase descrambler: // See if you can fix this Zero Wing-inspired phrase descrambler: