chore: remove duplicate word in comments (#11225)

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

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
Abirdcfly 2022-08-28 04:21:41 +08:00 committed by GitHub
parent d521933053
commit 314aa45c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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(),

View file

@ -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)