Skip to content

Commit

Permalink
Lint project
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksymMalicki committed Dec 25, 2024
1 parent dc209dc commit d8b6e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d8b6e64

Please sign in to comment.