Chore: fix typo (#1017)

This commit is contained in:
kongminhao
2020-10-14 19:56:02 +08:00
committed by GitHub
parent bc52f8e4fd
commit 8c3e2a7559
8 changed files with 10 additions and 10 deletions

View File

@ -61,7 +61,7 @@ func (alloc *Allocator) Put(buf []byte) error {
return nil
}
// msb return the pos of most significiant bit
// msb return the pos of most significant bit
func msb(size int) uint16 {
return uint16(bits.Len32(uint32(size)) - 1)
}