How is it that I can initialize a slice of pointers like this?
<p>I was surprised I could initialize a slice of pointers in this way:</p>

<pre><code>package main

import (
    "fmt"
)

type index struct {
    i, j int
}

func main() {
    indices := []*index{{0, 1}, {1, 3}} // Why does this work?

    fmt.Println(*indices[1])
}
</code></pre>

<p>I was expecting to have to write something more verbose like:</p>

<pre><code>indices := []*index{&amp;index{0, 1}, &amp;index{1, 3}}
</code></pre>

<p>Where would I find this in the documentation?</p>