Skip to content

Commit

Permalink
chore: accumulator fix typo on code docs (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
muktihari authored Sep 12, 2024
1 parent 5ea6045 commit ee60126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder/accumulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (a *Accumulator) Accumulate(mesgNum typedef.MesgNum, destFieldNum byte, val
return val
}

// Reset resets the accumulator. Tt retains the underlying storage for use by
// Reset resets the accumulator. It retains the underlying storage for use by
// future use to reduce memory allocs.
func (a *Accumulator) Reset() { a.values = a.values[:0] }

Expand Down

0 comments on commit ee60126

Please sign in to comment.