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) diff --git a/examples/generics/generics.hash b/examples/generics/generics.hash index 77ce621..2b23af5 100644 --- a/examples/generics/generics.hash +++ b/examples/generics/generics.hash @@ -1,2 +1,2 @@ -6219a4dadc2685ab1b61dc8e95799fd683ccb761 -YulcAofh266 +91465956a90881ec8b4cca3968b9aa1f6d9f1447 +uXlb-AyeYmQ diff --git a/public/generics b/public/generics index 6b4e6ec..0ca662e 100644 --- a/public/generics +++ b/public/generics @@ -42,7 +42,7 @@ - +
package main
 
@@ -179,7 +179,7 @@ automatically.

-    fmt.Println("keys m:", MapKeys(m))
+    fmt.Println("keys:", MapKeys(m))
 
@@ -243,7 +243,7 @@ automatically.