design/go2draft-type-parameters: fix typo

Change-Id: If7434b7d2a111812047fd9c9cb95ff65aa2c50db
Reviewed-on: https://go-review.googlesource.com/c/proposal/+/239157
Reviewed-by: Robert Griesemer <gri@golang.org>
diff --git a/design/go2draft-type-parameters.md b/design/go2draft-type-parameters.md
index 5b4a344..fe39f1c 100644
--- a/design/go2draft-type-parameters.md
+++ b/design/go2draft-type-parameters.md
@@ -2422,7 +2422,7 @@
 	s := []int{1, 2, 3}
 
 	floats := slices.Map(s, func(i int) float64 { return float64(i) })
-	// Now float2 is []float64{1.0, 2.0, 3.0}.
+	// Now floats is []float64{1.0, 2.0, 3.0}.
 
 	sum := slices.Reduce(s, 0, func(i, j int) int { return i + j })
 	// Now sum is 6.
@@ -2442,7 +2442,7 @@
 // Keys returns the keys of the map m in a slice.
 // The keys will be returned in an unpredictable order.
 // This function has two type parameters, K and V.
-// Map keys must be comparable, so key has the predeclared 
+// Map keys must be comparable, so key has the predeclared
 // constraint comparable. Map values can be any type;
 // the empty interface type imposes no constraints.
 func Keys(type K comparable, V interface{})(m map[K]V) []K {