mirror of
https://github.com/golang/go
synced 2024-10-14 03:43:28 +00:00
fmt: fix receiver names are different
This commit is contained in:
parent
16ec27b47c
commit
c8b851d372
|
@ -112,8 +112,8 @@ func (b *buffer) writeByte(c byte) {
|
||||||
*b = append(*b, c)
|
*b = append(*b, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (bp *buffer) writeRune(r rune) {
|
func (b *buffer) writeRune(r rune) {
|
||||||
*bp = utf8.AppendRune(*bp, r)
|
*b = utf8.AppendRune(*b, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
// pp is used to store a printer's state and is reused with sync.Pool to avoid allocations.
|
// pp is used to store a printer's state and is reused with sync.Pool to avoid allocations.
|
||||||
|
|
Loading…
Reference in a new issue