golang/tour

Syntax of Test of Key in Map is incorrect

munenendereba opened this issue · 1 comments

Context: https://go.dev/tour/moretypes/22

The below code is incorrect, it reads elem, ok = m[key] but I believe it should read elem, ok := m[key]

image

A Note is already present;