Normalize interrobangs

This commit is contained in:
Dave Gauer 2021-05-09 13:15:53 -04:00
parent 34ac5f6742
commit ac9a4dadfb
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ const std = @import("std");
pub fn main() void {
var n: u32 = 1;
// Oh dear! This while loop will go forever!?
// Oh dear! This while loop will go forever?!
// Please fix this so the print statement below gives the desired output.
while (true) : (n += 1) {
if (???) ???;

View file

@ -18,7 +18,7 @@ pub fn main() void {
fn printAnimal(animal: u8) void {
std.debug.print("(", .{});
std.debug.print(") ", .{}); // <---- how!?
std.debug.print(") ", .{}); // <---- how?!
if (animal == 'g') {
std.debug.print("Goat", .{});

View file

@ -1,4 +1,4 @@
21c21
< std.debug.print(") ", .{}); // <---- how!?
< std.debug.print(") ", .{}); // <---- how?!
---
> defer std.debug.print(") ", .{}); // <---- how!?
> defer std.debug.print(") ", .{}); // <---- how?!