var to const when posssible

This commit is contained in:
lording 2023-06-22 09:41:41 +00:00
parent 1b1d6b020b
commit 533c8e217d
16 changed files with 27 additions and 27 deletions

View file

@ -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;
const answer: u8 = result;
std.debug.print("The Ultimate Answer: {}.\n", .{answer});
}