[dev.go2go] all: update edit.go to be in sync with hello.txt example

Change-Id: Idce55e562e65347df4cbfbbca3d34ddb7542cab9
Reviewed-on: https://go-review.googlesource.com/c/playground/+/243897
Reviewed-by: Andrew Bonventre <andybons@golang.org>
diff --git a/edit.go b/edit.go
index cb3a45b..bb1743b 100644
--- a/edit.go
+++ b/edit.go
@@ -96,7 +96,12 @@
 	"fmt"
 )
 
-func Print(type T)(s []T) {
+// The playground now supports parentheses or square brackets (only one at
+// a time) for generic type and function declarations and instantiations.
+// By default, parentheses are expected. To switch to square brackets,
+// the first generic declaration in the source must use square brackets.
+
+func Print[type T](s []T) {
 	for _, v := range s {
 		fmt.Print(v)
 	}