var to const when posssible

This commit is contained in:
lording
2023-06-22 09:41:41 +00:00
parent f09a87c348
commit d2d3dfa277
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});
}