From a541dc734bb44e4f57dad810ba9bb44bc4444ba9 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sun, 14 Feb 2021 12:04:04 -0500 Subject: 03 assignment - var to const in example for clarity --- exercises/03_assignment.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/03_assignment.zig') diff --git a/exercises/03_assignment.zig b/exercises/03_assignment.zig index 662fd18..3775afc 100644 --- a/exercises/03_assignment.zig +++ b/exercises/03_assignment.zig @@ -15,7 +15,7 @@ // bar CAN be negative and can hold −128 to 127 // // const foo: u8 = 20; -// var bar: i8 = -20; +// const bar: i8 = -20; // // Example: foo can hold 8 bits (0 to 255) // bar can hold 16 bits (0 to 65,535) -- cgit v1.2.3-ZIG