Skip to content

Commit

Permalink
fix some godoc comments, and add docs links
Browse files Browse the repository at this point in the history
Use the "docs links" (`[<reference>]`) format so that the documentation
generates links to the types referenced.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah authored and philhofer committed Dec 31, 2022
1 parent 15e1d85 commit 87d7486
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion msgp/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func (m *Reader) ReadMapKey(scratch []byte) ([]byte, error) {
return out, nil
}

// MapKeyPtr returns a []byte pointing to the contents
// ReadMapKeyPtr returns a []byte pointing to the contents
// of a valid map key. The key cannot be empty, and it
// must be shorter than the total buffer size of the
// *Reader. Additionally, the returned slice is only
Expand Down
Loading

0 comments on commit 87d7486

Please sign in to comment.