Fixed formatting of code example in docs.

A code snippet was not rendered correctly because it wasn't introduced with a double colon (::).