From d8b6e6489048f1e134d9a21a59c225c7971a113d Mon Sep 17 00:00:00 2001 From: MaksymMalicki Date: Wed, 25 Dec 2024 16:12:27 +0100 Subject: [PATCH] Lint project --- pkg/vm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/vm/vm.go b/pkg/vm/vm.go index e11245dad..7673f6ac5 100644 --- a/pkg/vm/vm.go +++ b/pkg/vm/vm.go @@ -92,7 +92,7 @@ type VirtualMachine struct { } func (vm *VirtualMachine) PrintMemory() { - for i, _ := range vm.Memory.Segments { + for i := range vm.Memory.Segments { for j, cell := range vm.Memory.Segments[i].Data { fmt.Printf("%d:%d %s\n", i, j, cell) }