Fix closing bracket in Godoc

This commit is contained in:
Mathias Lafeldt
2015-12-21 21:36:11 +01:00
parent c59fad149b
commit 1701cd4a3a

View File

@@ -29,8 +29,8 @@ import (
// ToJSON converts a single YAML document into a JSON document
// or returns an error. If the document appears to be JSON the
// YAML decoding path is not used (so that error messages are)
// JSON specific.
// YAML decoding path is not used (so that error messages are
// JSON specific).
func ToJSON(data []byte) ([]byte, error) {
if hasJSONPrefix(data) {
return data, nil