mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
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:
parent
d521933053
commit
314aa45c2c
|
@ -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…
Reference in a new issue