chore: remove duplicate word in comments (#11225)

Signed-off-by: Abirdcfly <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
pull/11233/head
Abirdcfly 3 years ago committed by GitHub
parent d521933053
commit 314aa45c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tsdb/db.go
  2. 2
      tsdb/encoding/encoding.go

@ -318,7 +318,7 @@ type DBStats struct {
}
// NewDBStats returns a new DBStats object initialized using the
// the new function from each component.
// new function from each component.
func NewDBStats() *DBStats {
return &DBStats{
Head: NewHeadStats(),

@ -79,7 +79,7 @@ func (e *Encbuf) PutUvarintStr(s string) {
e.PutString(s)
}
// PutUvarintBytes writes a a variable length byte buffer.
// PutUvarintBytes writes a variable length byte buffer.
func (e *Encbuf) PutUvarintBytes(b []byte) {
e.PutUvarint(len(b))
e.PutBytes(b)

Loading…
Cancel
Save