mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
var to const when posssible
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
const print = @import("std").debug.print;
|
||||
|
||||
pub fn main() void {
|
||||
var zig = [_]u8{
|
||||
const zig = [_]u8{
|
||||
0o131, // octal
|
||||
0b1101000, // binary
|
||||
0x66, // hex
|
||||
|
||||
Reference in New Issue
Block a user