This commit is contained in:
parent
d76bac99e2
commit
46263082e3
|
@ -29,7 +29,7 @@ pub fn main() void {
|
|||
|
||||
// Please threaten the result so that answer is either the
|
||||
// integer value from deepThought() OR the number 42:
|
||||
var answer: u8 = result;
|
||||
var answer: u8 = result orelse 42;
|
||||
|
||||
std.debug.print("The Ultimate Answer: {}.\n", .{answer});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue