_content/doc/tutorial/generics: add indentation inside function
Change-Id: I5648e2da0b708bf35e4406f4dcb49eabe01abf92
GitHub-Last-Rev: 009bc861a38bb5b8b180d11c1cfc569d17a00059
GitHub-Pull-Request: golang/website#122
Reviewed-on: https://go-review.googlesource.com/c/website/+/381917
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Cherry Mui <cherryyz@google.com>
diff --git a/_content/doc/tutorial/generics.md b/_content/doc/tutorial/generics.md
index 2c1b5ff..8220417 100644
--- a/_content/doc/tutorial/generics.md
+++ b/_content/doc/tutorial/generics.md
@@ -173,21 +173,21 @@
```
func main() {
- // Initialize a map for the integer values
- ints := map[string]int64{
- "first": 34,
- "second": 12,
- }
+ // Initialize a map for the integer values
+ ints := map[string]int64{
+ "first": 34,
+ "second": 12,
+ }
- // Initialize a map for the float values
- floats := map[string]float64{
- "first": 35.98,
- "second": 26.99,
- }
+ // Initialize a map for the float values
+ floats := map[string]float64{
+ "first": 35.98,
+ "second": 26.99,
+ }
- fmt.Printf("Non-Generic Sums: %v and %v\n",
- SumInts(ints),
- SumFloats(floats))
+ fmt.Printf("Non-Generic Sums: %v and %v\n",
+ SumInts(ints),
+ SumFloats(floats))
}
```