Skip to content

Commit

Permalink
docs: fix doc comment on writeTime method (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
robojones authored Jul 14, 2019
1 parent fcb55c1 commit ef30a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
// dateOffset is the number of bits by which the date is offset to the right.
const dateOffset = 1

// Writes the provided t into b with an offset of 1 to the right.
// writeTime writes the provided t into b with an offset of 1 to the right.
func writeTime(b []byte, t uint32) {
if len(b) < 5 {
panic(errors.New("length of b is less than 5"))
Expand Down

0 comments on commit ef30a91

Please sign in to comment.