Skip to content

Commit

Permalink
s2: Fix typo in CellID.Decode doc comment.
Browse files Browse the repository at this point in the history
Fixes #54.

Signed-off-by: David Symonds <dsymonds@golang.org>
  • Loading branch information
rsned authored and dsymonds committed Sep 16, 2019
1 parent f41920e commit 660d2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2/cellid.go
Expand Up @@ -481,7 +481,7 @@ func (ci CellID) encode(e *encoder) {
e.writeUint64(uint64(ci))
}

// Decode encodes the CellID.
// Decode decodes the CellID.
func (ci *CellID) Decode(r io.Reader) error {
d := &decoder{r: asByteReader(r)}
ci.decode(d)
Expand Down

0 comments on commit 660d2a7

Please sign in to comment.