diff --git a/examples/generics/generics.go b/examples/generics/generics.go index de20e28..c6fa91a 100644 --- a/examples/generics/generics.go +++ b/examples/generics/generics.go @@ -61,7 +61,7 @@ func main() { // specify the types for `K` and `V` when // calling `MapKeys` - the compiler infers them // automatically. - fmt.Println("keys m:", MapKeys(m)) + fmt.Println("keys:", MapKeys(m)) // ... though we could also specify them explicitly. _ = MapKeys[int, string](m)